concurrency v5.0.3 (2023-04-12T14:20:47Z)
Dub
Repo
ReceiverObjectBase
concurrency
receiver
A polymorphic receiver of type T
interface
ReceiverObjectBase (
T
) {
struct
StopToken
via
import
concurrency
.
stoptoken
:
StopToken
;
;
interface
SchedulerObjectBase
via
import
concurrency
.
scheduler
:
SchedulerObjectBase
;
;
static if
(
is(T == void)
)
void
setValue
();
static if
(!(
is(T == void)
))
void
setValue
(T value);
void
setDone
();
void
setError
(Throwable e);
StopToken
getStopToken
();
SchedulerObjectBase
getScheduler
();
}
Members
Functions
getScheduler
SchedulerObjectBase
getScheduler
()
Undocumented in source.
getStopToken
StopToken
getStopToken
()
Undocumented in source.
setDone
void
setDone
()
Undocumented in source.
setError
void
setError
(Throwable e)
Undocumented in source.
setValue
void
setValue
()
Undocumented in source.
setValue
void
setValue
(T value)
Undocumented in source.
Meta
Source
See Implementation
concurrency
receiver
enums
isReceiver
functions
checkReceiver
getStopToken
setValueOrError
interfaces
ReceiverObjectBase
mixin templates
ForwardExtensionPoints
structs
NullReceiver
ThrowingNullReceiver
A polymorphic receiver of type T