interface Channel<T : Any> : Any
Fields
Name | Description |
---|---|
abstract isClosed: Boolean
|
|
abstract streamTerm: Struct
|
Methods
addListener
abstract fun addListener(listener: Listener<T?>)
Parameters
Name | Description |
---|---|
listener: Listener<T?>
|
ReturnValue
Name | Description |
---|---|
Unit
|
removeListener
abstract fun removeListener(listener: Listener<T?>)
Parameters
Name | Description |
---|---|
listener: Listener<T?>
|
ReturnValue
Name | Description |
---|---|
Unit
|
clearListeners
abstract fun clearListeners()
ReturnValue
Name | Description |
---|---|
Unit
|
close
abstract fun close()
ReturnValue
Name | Description |
---|---|
Unit
|