livestream-kt / dev.shreyaspatil.livestream / LiveStream / getValue

getValue

fun getValue(stream: String): T?

Returns the current value of a stream. Note that calling this method on a background thread does not guarantee that the latest value set will be received.

Parameters

stream - Data stream

Return
The current value of a stream