Reactor.spawnFiber

Spawn a new fiber for execution.

  1. FiberHandle spawnFiber(T args)
  2. FiberHandle spawnFiber(Parameters!F args)
    struct Reactor
    spawnFiber
    ()
    (
    Parameters!F args
    )
    if (
    !isType!F
    )

Parameters

F

The function or delegate to call inside the fiber.

args Parameters!F

The arguments for F

Return Value

A FiberHandle to the newly created fiber.

Meta