hio.scheduler

Undocumented in source.

Members

Classes

NotReadyException
class NotReadyException
Undocumented in source.
Task
class Task(F, A...)
Undocumented in source.
TestException
class TestException
Undocumented in source.
Threaded
class Threaded(F, A...)

Functions

App
ReturnType!F App(F f, A args)
Undocumented in source. Be warned that the author may not have intended to support it.
hlSleep
void hlSleep(Duration d)
Undocumented in source. Be warned that the author may not have intended to support it.
mapM
auto mapM(R r, F f, ulong m)
Undocumented in source. Be warned that the author may not have intended to support it.
mapMxN
auto mapMxN(R r, F f, ulong m, ulong n)
Undocumented in source. Be warned that the author may not have intended to support it.
spawnTask
auto spawnTask(T task, Duration howLong)

Run eventloop and task in separate thread. Send what task returned or struct TaskNotReady if task not finished in time.

task
auto task(F f, A a)
Undocumented in source. Be warned that the author may not have intended to support it.
threaded
auto threaded(F f, A a)
Undocumented in source. Be warned that the author may not have intended to support it.

Interfaces

Computation
interface Computation

spawn thread or fiber, caal function and return value

Structs

Box
struct Box(T)
Undocumented in source.
TaskNotReady
struct TaskNotReady
Undocumented in source.

Meta