registerByteStreamHandler

abstract fun registerByteStreamHandler(topic: String, handler: ByteStreamHandler)

Registers a byte stream handler for topic. Only one handler can be set for a particular topic at a time.

Throws

if a topic is already set.