concurrency v5.0.0 (2022-10-19T08:12:29Z)
Dub
Repo
onStop
concurrency
stoptoken
Undocumented in source. Be warned that the author may not have intended to support it.
StopCallback
onStop
(StopSource stopSource, void delegate() nothrow @(safe) shared callback)
StopCallback
onStop
(StopSource stopSource, void function() nothrow @(safe) callback)
StopCallback
onStop
(StopToken stopToken, void delegate() nothrow @(safe) shared callback)
StopCallback
onStop
(StopToken stopToken, void function() nothrow @(safe) callback)
nothrow @
trusted
StopCallback
onStop
(
StopToken
)
(
StopToken
stopToken
,
void
function
(
)
nothrow @
safe
callback
)
Meta
Source
See Implementation
concurrency
stoptoken
aliases
StopTokenObject
classes
StopCallback
StopSource
functions
onStop
stopTokenObject
structs
NeverStopToken
StopToken