close

abstract fun close()

Close this SyncStream.

After closing SyncStream stops emitting events. Call this method to cleanup resources when finish using this SyncStream object.