CarryingFiber.call

Hijacks the invocation of the Fiber and injects the string name of the calling function into the caller member before calling the Fiber's own .call().

  1. auto call(string caller)
    class CarryingFiber(T)
    call
    (
    const string caller = __FUNCTION__
    )
  2. auto call(T payload, string caller)

Parameters

caller string

String name of the function calling this CarryingFiber (via .call()).

Return Value

Type: auto

A Throwable if the underlying Fiber threw one when called; null otherwise.