subscribe

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

Subscribes to the sequence with an observer


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

Subscribes to the sequence with callbacks