concurrency ~master (2022-01-07T14:23:47Z)
Dub
Repo
ScheduleAfterOp
concurrency
scheduler
Undocumented in source.
struct
ScheduleAfterOp (
Worker
Receiver
) {
import
std
.
traits
:
ReturnType
;
;
struct
SharedBitField
(Flags)
via
import
concurrency
.
bitfield
:
SharedBitField
;
;
class
StopCallback
via
import
concurrency
.
stoptoken
:
StopCallback
,
onStop
;
;
StopCallback
onStop
(StopToken stopToken, void function() nothrow @(safe) callback) via
import
concurrency
.
stoptoken
:
StopCallback
,
onStop
;
;
void
setValueOrError
(Receiver receiver, T value) via
import
concurrency
.
receiver
:
setValueOrError
;
;
enum
Flags
;
alias
Timer
=
ReturnType
!(
Worker
.
addTimer
)
;
Worker
worker
;
Duration
dur
;
Receiver
receiver
;
Timer
timer
;
StopCallback
stopCb
;
shared
SharedBitField
!
Flags
flags
;
void
start
();
}
Members
Aliases
Timer
alias
Timer
=
ReturnType
!(
Worker
.
addTimer
)
Undocumented in source.
Enums
Flags
enum
Flags
Undocumented in source.
Functions
start
void
start
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
dur
Duration
dur
;
Undocumented in source.
flags
SharedBitField
!
Flags
flags
;
Undocumented in source.
receiver
Receiver
receiver
;
Undocumented in source.
stopCb
StopCallback
stopCb
;
Undocumented in source.
timer
Timer
timer
;
Undocumented in source.
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