php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
Fiber Class Reference

Public Member Functions

 __construct (callable $callback)
 
 start (mixed ... $args)
 
 resume (mixed $value=null)
 
 throw (Throwable $exception)
 
 isStarted ()
 
 isSuspended ()
 
 isRunning ()
 
 isTerminated ()
 
 getReturn ()
 

Static Public Member Functions

static getCurrent ()
 
static suspend (mixed $value=null)
 

Detailed Description

@generate-class-entries @strict-properties @not-serializable

Definition at line 9 of file zend_fibers.stub.php.

Constructor & Destructor Documentation

◆ __construct()

Fiber::__construct ( callable $callback)

Definition at line 11 of file zend_fibers.stub.php.

Member Function Documentation

◆ getCurrent()

static Fiber::getCurrent ( )
static

Definition at line 29 of file zend_fibers.stub.php.

◆ getReturn()

Fiber::getReturn ( )

Definition at line 27 of file zend_fibers.stub.php.

◆ isRunning()

Fiber::isRunning ( )

Definition at line 23 of file zend_fibers.stub.php.

◆ isStarted()

Fiber::isStarted ( )

Definition at line 19 of file zend_fibers.stub.php.

◆ isSuspended()

Fiber::isSuspended ( )

Definition at line 21 of file zend_fibers.stub.php.

◆ isTerminated()

Fiber::isTerminated ( )

Definition at line 25 of file zend_fibers.stub.php.

◆ resume()

Fiber::resume ( mixed $value = null)

Definition at line 15 of file zend_fibers.stub.php.

◆ start()

Fiber::start ( mixed ... $args)

Definition at line 13 of file zend_fibers.stub.php.

◆ suspend()

static Fiber::suspend ( mixed $value = null)
static

Definition at line 31 of file zend_fibers.stub.php.

◆ throw()

Fiber::throw ( Throwable $exception)

Definition at line 17 of file zend_fibers.stub.php.


The documentation for this class was generated from the following file: