vibe-core v1.9.3 (2020-08-03T00:34:08Z)
Dub
Repo
asyncWork
vibe
core
concurrency
Undocumented in source. Be warned that the author may not have intended to support it.
@
safe
Future
!(
ReturnType
!
CALLABLE
)
asyncWork
(
CALLABLE
ARGS
...
)
(
CALLABLE
callable
,
ARGS
args
)
if
(
is
(
typeof
(
callable
(
args
)) ==
ReturnType
!
CALLABLE
) &&
isWeaklyIsolated
!
CALLABLE
&&
isWeaklyIsolated
!
ARGS
)
Meta
Source
See Implementation
vibe
core
concurrency
classes
VibedScheduler
enums
ConcurrencyPrimitive
functions
assumeIsolated
async
asyncWork
lock
makeIsolated
makeIsolatedArray
prioritySend
send
setConcurrencyPrimitive
structs
Future
ScopedLock
templates
Isolated
ScopedRef
haveTypeAlready
isCopyable
isStronglyIsolated
isWeaklyIsolated