Reactor.spawnFiber - multiple declarations

Function Reactor.spawnFiber

Spawn a new fiber for execution.

FiberHandle spawnFiber(T...) (
  T args
) nothrow @nogc @safe;

Parameters

The first argument must be the function/delegate to call inside the new fiber. If said callable accepts further arguments, then they must be provided as further arguments to spawnFiber.

Returns

A FiberHandle to the newly created fiber.

Function Reactor.spawnFiber

Spawn a new fiber for execution.

FiberHandle spawnFiber(alias F) (
  Parameters!F args
);

Parameters

NameDescription
F The function or delegate to call inside the fiber.
args The arguments for F

Returns

A FiberHandle to the newly created fiber.