subscribe

external fun subscribe(observer: SubscriptionObserver<T>, options: SubscribeOptions? = definedExternally)(source)

Subscribes to the sequence with an observer


external fun subscribe(callback: (value: T) -> Unit, options: SubscribeOptions? = definedExternally)(source)

Subscribes to the sequence with callbacks