Akashic
Toggle table of contents
0.0.5
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Akashic
akashic-core
/
codes.laurence.akashic.core.event.subscription
/
SubscriptionSourceLifecycle
Subscription
Source
Lifecycle
class
SubscriptionSourceLifecycle
(
dispatcher
:
CoroutineDispatcher
,
name
:
String
)
(
source
)
Members
Constructors
Subscription
Source
Lifecycle
Link copied to clipboard
constructor
(
dispatcher
:
CoroutineDispatcher
,
name
:
String
)
Properties
is
Closed
Link copied to clipboard
val
isClosed
:
Boolean
scope
Link copied to clipboard
val
scope
:
CoroutineScope
Functions
close
Link copied to clipboard
suspend
fun
close
(
)
ensure
Open
Link copied to clipboard
fun
ensureOpen
(
)
track
Link copied to clipboard
fun
track
(
status
:
MutableStateFlow
<
EventSubscriptionStatus
>
)
untrack
Link copied to clipboard
fun
untrack
(
status
:
MutableStateFlow
<
EventSubscriptionStatus
>
)