unecht.core.fibers

Members

Aliases

UEFiberDelegate
alias UEFiberDelegate = void delegate()

delegate type that can be used as a fiber

UEFiberFunc
alias UEFiberFunc = void function()

function type that can be used as a fiber

Classes

UEFiber
class UEFiber

acts like a std.thread.Fiber - adds child Fiber member to enable yield on child fibers (=wait for child fiber to finish)

Functions

waitFiber
UEFiberFunc waitFiber()

returns a function object that can be used to wait in a UEFiber for a certain amount of time

Imports

Fiber (from core.thread)
public import core.thread : Fiber;
Undocumented in source.

Structs

UEFibers
struct UEFibers

UEFibers acts as a container for fibers. It manages reusing UEFiber objects after they are finished. startFiber first tries to find a finished UEFiber and only otherwise allocates

Meta

Authors

Stephan Dilly, lastname dot firstname at gmail dot com