Signal

final class Signal<Value, Error : Error>
  • Forward events from self until object deinitializes, at which point the returned signal will complete.

    Declaration

    Swift

    public func take(duringLifetimeOf object: AnyObject) -> Signal<Value, Error>

    Parameters

    object

    An object of which the deinitialization would complete the returned Signal. Both Objective-C and native Swift objects are supported.

    Return Value

    A signal that will deliver events until object deinitializes.