method
current
v2_6_3 -
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.