syncStream

abstract fun syncStream(name: String, parameters: Map<String, JsonParam>? = null): SyncStream(source)

Create a SyncStream instance for the given name and parameters.

Use SyncStream.subscribe on the returned instance to subscribe to the stream.