toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.async
/
BaseSignal
Base
Signal
abstract
class
BaseSignal
<
T
,
THandler
>
(
val
onRegister
:
(
)
->
Unit
=
{}
)
Inheritors
AsyncSignal
Signal
Members
Constructors
Base
Signal
Link copied to clipboard
constructor
(
onRegister
:
(
)
->
Unit
=
{}
)
Types
Node
Link copied to clipboard
inner
class
Node
(
val
once
:
Boolean
,
val
item
:
THandler
)
:
Closeable
Properties
has
Listeners
Link copied to clipboard
val
hasListeners
:
Boolean
listener
Count
Link copied to clipboard
val
listenerCount
:
Int
on
Register
Link copied to clipboard
val
onRegister
:
(
)
->
Unit
Functions
clear
Link copied to clipboard
fun
clear
(
)
listen
Link copied to clipboard
suspend
fun
listen
(
)
:
ReceiveChannel
<
T
>
wait
One
Base
Link copied to clipboard
abstract
suspend
fun
waitOneBase
(
)
:
T