concurrency v3.1.0 (2021-08-24T13:51:28Z)
Dub
Repo
SyncWaitReceiver2.State
concurrency
SyncWaitReceiver2
Undocumented in source.
struct
SyncWaitReceiver2
(Value, bool isNoThrow)
static
struct
State {
LocalThreadWorker
worker
;
bool
canceled
;
static if
(
!is(Value == void)
)
Value
result
;
static if
(
!isNoThrow
)
Exception
exception
;
StopSource
stopSource
;
this
(StopSource stopSource);
void
handleSignal
(int signal);
}
Constructors
this
this
(StopSource stopSource)
Undocumented in source.
Members
Functions
handleSignal
void
handleSignal
(int signal)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
canceled
bool
canceled
;
Undocumented in source.
exception
Exception
exception
;
Undocumented in source.
result
Value
result
;
Undocumented in source.
stopSource
StopSource
stopSource
;
Undocumented in source.
worker
LocalThreadWorker
worker
;
Undocumented in source.
Meta
Source
See Implementation
concurrency
SyncWaitReceiver2
functions
getScheduler
getStopToken
setDone
setError
setValue
structs
State
variables
state