upromised ~master (2019-02-09T14:58:37Z)
Dub
Repo
Work.run
upromised
uv
work
Work
Undocumented in source. Be warned that the author may not have intended to support it.
Promise
!
void
run
(void delegate() work)
Promise
!
T
run
(T delegate() cb)
class
Work
nothrow
Promise
!
T
run
(
T
)
(
T
delegate
(
)
cb
)
if
(
is
(
Promisify
!
T
==
Promise
!
T
) &&
!
is
(
T
==
void
)
)
Meta
Source
See Implementation
upromised
uv
work
Work
constructors
this
functions
run
variables
self