Stream Source
Define a stream source to which new values can be written.
Types
Functions
Link copied to clipboard
Returns the current value of the stream
Sends the next value to the stream
Calls the block with the current value of the stream and sends to return value to the stream.
Link copied to clipboard
Removes all subscriptions
Link copied to clipboard
Adds a subscription to the stream.
Properties
Inheritors
Extensions
Link copied to clipboard
fun <T> StreamSource<T>.persistInLocalStorage( key: String, serializer: KSerializer<T>, codec: Json = defaultJson): StreamSource<T>
Content copied to clipboard
Converts a StreamSource so that it will persist its values in the local storage under the given key.