phasync\Context\ServiceContext
final
class
Documentation
All coroutines are associated with an instance of ContextInterface.
If no ContextInterface implementation is provided when using run to launch a coroutine, the coroutine will inherit the parent coroutines' context. The root coroutine will use an instance of this class.
Inheritance
Implements:
phasync\Context\ContextInterface
ArrayAccess
Uses Traits:
phasync\Context\ContextTrait
Properties (5)
private
?
Throwable $contextException
private
?
WeakMap $fibers
private
array $dataKeyed
private
SplObjectStorage $dataObjectKeys
private
bool $activated
Methods (10)
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing
Documentation missing