Reactor.pushFiberName

Temporarily change the fiber's name

Meaning of arguments is as for setFiberName.

  1. auto pushFiberName(string name, void* ptr)
  2. auto pushFiberName(string name, T dlg)
    struct Reactor
    nothrow @safe @nogc
    pushFiberName
    (
    T
    )
    (
    string name
    ,
    scope T dlg
    )
    if (
    isDelegate!T
    )

Return Value

Type: auto

A voldemort type whose destructor returns the fiber name to the one it had before. It also has a release function for returning the name earlier.

Meta