Reactor.pushFiberName

Temporarily change the fiber's name

Meaning of arguments is as for setFiberName.

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

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