concurrency v5.0.0 (2022-10-19T08:12:29Z)
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
;
this
(typeof(this) rhs);
this(this)
;
void
start
();
}
Constructors
this
this
(typeof(this) rhs)
Undocumented in source.
Postblit
this(this)
this(this)
Undocumented in source.
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
LocalThreadScheduler
TimerDelegate
classes
ManualTimeWorker
SchedulerObject
enums
TimerTrigger
isScheduler
functions
checkScheduler
localThreadScheduler
toSchedulerObject
withBaseScheduler
interfaces
SchedulerObjectBase
structs
ManualTimeScheduler
NullScheduler
Schedule
ScheduleAfter
ScheduleAfterOp
ScheduleAfterSender
SchedulerAdapter
Timer