Lines Matching refs:from
43 * @return mixed Value from the first suspension point or NULL if the fiber returns.
51 * Resumes the fiber, returning the given value from {@see Fiber::suspend()}.
56 * @return mixed Value from the next suspension point or NULL if the fiber returns.
64 * Throws the given exception into the fiber from {@see Fiber::suspend()}.
69 * @return mixed Value from the next suspension point or NULL if the fiber returns.
111 * Cannot be called from {main}.
113 * @param mixed $value Value to return from {@see Fiber::resume()} or {@see Fiber::throw()}.
117 * @throws FiberError Thrown if not within a fiber (i.e., if called from {main}).
126 … thrown from the call to these methods. `Fiber::suspend()` will throw an instance of `FiberError` …
130 * returning a value from `Fiber::suspend()` using `Fiber->resume()`
131 * throwing an exception from `Fiber::suspend()` using `Fiber->throw()`
133 `Fiber->getReturn()` returns the value returned from a terminated fiber (`NULL` is returned if the …
135 `Fiber::getCurrent()` returns the currently executing `Fiber` instance or `NULL` if called from `{m…
141 …ed to inspect executing fibers. A `ReflectionFiber` object can be created from any `Fiber` object,…