Task

Task. Exacute computation. Inherits from Fiber you can start, wait, check for readiness.

Constructors

this
this(F f, A args)
Undocumented in source.

Members

Aliases

start
alias start = call
Undocumented in source.
value
alias value = result
Undocumented in source.

Functions

call
Throwable call(Fiber.Rethrow r)
Undocumented in source. Be warned that the author may not have intended to support it.
daemon
void daemon(bool v)
Undocumented in source. Be warned that the author may not have intended to support it.
ready
bool ready()
Undocumented in source. Be warned that the author may not have intended to support it.
reset
void reset()
Undocumented in source. Be warned that the author may not have intended to support it.
start
void start()
Undocumented in source. Be warned that the author may not have intended to support it.
state
auto state()
Undocumented in source. Be warned that the author may not have intended to support it.
wait
bool wait(Duration timeout)

wait() - wait forewer wait(Duration) - wait with timeout

waitResult
auto waitResult()
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

FiberPoolCapacity
enum FiberPoolCapacity;
Undocumented in source.

Properties

result
auto result [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

fiberPool
Fiber[FiberPoolCapacity] fiberPool;
Undocumented in source.
fiberPoolSize
int fiberPoolSize;
Undocumented in source.

Inherited Members

From Computation

ready
bool ready()
Undocumented in source.
wait
bool wait(Duration t)
Undocumented in source.

Meta