跳转到主要内容

getcurrent

Fiber::getCurrent

Gets the currently executing Fiber instance

ENTITY

public

static

Fiber

null

Fiber::getCurrent

ENTITY ENTITY

ENTITY

Returns the currently executing Fiber instance or ENTITY if this method is called from outside a fiber.