跳转到主要内容

getreturn

Fiber::getReturn

Gets the value returned by the Fiber

ENTITY

public

mixed

Fiber::getReturn

ENTITY ENTITY

ENTITY

Returns the value returned by the callable provided to Fiber::__construct. If the fiber has not returned a value, either because it has not been started, has not terminated, or threw an exception, a FiberError will be thrown.