StreamCombinator

class StreamCombinator<FIRST, SECOND, RESULT>(    first: Stream<FIRST>,     second: Stream<SECOND>,     combine: (FIRST, SECOND) -> RESULT) : Stream<RESULT>

Operator that combines two streams.

Constructors

Link copied to clipboard
fun <FIRST, SECOND, RESULT> StreamCombinator(    first: Stream<FIRST>,     second: Stream<SECOND>,     combine: (FIRST, SECOND) -> RESULT)

Functions

Link copied to clipboard
open operator override 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.