method

current

v1_9_1_378 - Show latest stable - Class: Fiber
current()
public

Returns the current fiber. You need to require ‘fiber’ before using this method. If you are not running in the context of a fiber this method will return the root fiber.