Channel

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

CompanionObject

Channel

interface Channel<T : Any> : Any

Methods

streamTerm

fun streamTerm(input: Boolean?, id: String?): Struct

Parameters

Name Description
input: Boolean?
id: String?

ReturnValue

Name Description
Struct