CarryingFiber.this

Constructor function merely taking a function/delegate pointer, to call when invoking this fiber (via .call()).

  1. this(FnOrDg fnOrDg, Args args, string creator)
    class CarryingFiber(T)
    this
    (
    FnOrDg
    Args...
    )
    (
    FnOrDg fnOrDg
    ,
    Args args
    ,
    const string creator = __FUNCTION__
    )
    if (
    isSomeFunction!FnOrDg &&
    (
    !Args.length ||
    allSatisfy!(isNumeric, Args)
    )
    )
  2. this(FnOrDg fnOrDg, T payload, Args args, string creator)

Parameters

fnOrDg FnOrDg

Function/delegate pointer to call when invoking this CarryingFiber.

args Args

Arguments to pass to the Fiber super constructor. If empty, its default arguments are used.

creator string

String name of the creating function of this CarryingFiber.