vibe-core ~master (2022-04-01T19:24:37Z)
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