getNamed

open fun getNamed(@NonNull name: String, update: Boolean): EventStream

Get a stream with specified name.

Return

The stream with the specified name or null if update is falseand the stream does not exist.

Parameters

name

Name of the stream to get.

update

Whether to create the stream if it does not exist.