toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.async
/
BaseSignal2
Base
Signal2
abstract
class
BaseSignal2
<
T1
,
T2
>
(
val
onRegister
:
(
)
->
Unit
=
{}
)
Inheritors
Signal2
Members
Constructors
Base
Signal2
Link copied to clipboard
constructor
(
onRegister
:
(
)
->
Unit
=
{}
)
Types
Node
Link copied to clipboard
inner
class
Node
(
val
once
:
Boolean
,
val
item
:
(
T1
,
T2
)
->
Unit
)
:
Closeable
Properties
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
<
Pair
<
T1
,
T2
>
>
wait
One
Base
Link copied to clipboard
abstract
suspend
fun
waitOneBase
(
)
:
Pair
<
T1
,
T2
>