StreamWrapperBase

abstract class StreamWrapperBase<WRAPPED, RESULT>(wrapped: Stream<WRAPPED>) : Stream<RESULT>

Base class for all stream wrappers

Constructors

Link copied to clipboard
fun <WRAPPED> StreamWrapperBase(wrapped: Stream<WRAPPED>)

Functions

Link copied to clipboard
abstract operator fun invoke(): RESULT

Returns the current value of the stream

Link copied to clipboard
open override fun subscribeToStream(sub: StreamHandler<RESULT>): Unsubscribe

Adds a subscription to the stream.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard