concurrency ~master (2022-01-07T14:23:47Z)
Dub
Repo
SchedulerAdapter
concurrency
scheduler
Undocumented in source.
struct
SchedulerAdapter (
Worker
) {
void
setValueOrError
(Receiver receiver, T value) via
import
concurrency
.
receiver
:
setValueOrError
;
;
alias
VoidDelegate
=
void
delegate
()
shared
@(
safe
)
via
import
concurrency
.
executor
:
VoidDelegate
;
;
import
core
.
time
:
Duration
;
;
Worker
worker
;
auto
schedule
();
auto
scheduleAfter
(Duration dur);
}
Members
Functions
schedule
auto
schedule
()
Undocumented in source. Be warned that the author may not have intended to support it.
scheduleAfter
auto
scheduleAfter
(Duration dur)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
worker
Worker
worker
;
Undocumented in source.
Meta
Source
See Implementation
concurrency
scheduler
aliases
TimerDelegate
classes
ManualTimeWorker
SchedulerObject
enums
TimerTrigger
isScheduler
functions
checkScheduler
localThreadScheduler
toSchedulerObject
withBaseScheduler
interfaces
SchedulerObjectBase
structs
ManualTimeScheduler
ScheduleAfterOp
ScheduleAfterSender
SchedulerAdapter
Timer