rx/core/observable.py
def from_callable(supplier: Callable) -> ObservableBase:
        """Returns an observable sequence that contains a single element
        generate from a supplier.

        example
        res = rx.Observable.from_callable(lambda: calculate_value())
        res = rx.Observable.from_callable(lambda: 1 / 0) # emits an error

        Keyword arguments:
        supplier -- Single element in the resulting observable sequence.

        Returns an observable sequence containing the single specified
        element derived from the supplier
        """
        from ..operators.observable.returnvalue import from_callable
        return from_callable(supplier)
Returns an observable sequence that contains a single element
        generate from a supplier.

        example
        res = rx.Observable.from_callable(lambda: calculate_value())
        res = rx.Observable.from_callable(lambda: 1 / 0) # emits an error

        Keyword arguments:
        supplier -- Single element in the resulting observable sequence.

        Returns an observable sequence containing the single specified
        element derived from the supplier
        
Returns an observable sequence that contains a single element
generate from a supplier.



Keyword arguments:
supplier -- Single element in the resulting observable sequence.

Returns an observable sequence containing the single specified
element derived from the supplier
Returns an observable sequence that contains a single element generate from a supplier . Keyword arguments : supplier -- Single element in the resulting observable sequence . Returns an observable sequence containing the single specified element derived from the supplier
def from_callable(supplier: Callable) -> ObservableBase:
        from ..operators.observable.returnvalue import from_callable
        return from_callable(supplier)
def from_callable ( supplier : Callable ) -> ObservableBase : from . . operators . observable . returnvalue import from_callable return from_callable ( supplier )
Returns an observable sequence that contains a single element
generate from a supplier.
Returns an observable sequence that contains a single element generate from a supplier .
"""Returns an observable sequence that contains a single element
        generate from a supplier.

        example
        res = rx.Observable.from_callable(lambda: calculate_value())
        res = rx.Observable.from_callable(lambda: 1 / 0) # emits an error

        Keyword arguments:
        supplier -- Single element in the resulting observable sequence.

        Returns an observable sequence containing the single specified
        element derived from the supplier
        """
supplier
Callable