BranchFiber
FinalYes
Owns the Fiber over one branch pipeline.
Methods
- __construct() : mixed
- advance() : void
- completed() : bool
- drop() : void
- Destroying a SUSPENDED fiber unwinds it into the side PipelineSteps' finally, now rather than at the next GC; after a TERMINATED one the next advance() builds a fresh Fiber over the same pipeline, whose bound steps carry over.
- terminated() : bool
Methods
__construct()
public
__construct(Pipeline $side, Executor $executor, FlowContext $context, FeedExtractor $feed, StepRunner $runner) : mixed
Parameters
- $side : Pipeline
- $executor : Executor
- $context : FlowContext
- $feed : FeedExtractor
- $runner : StepRunner
advance()
public
advance() : void
completed()
public
completed() : bool
Return values
booldrop()
Destroying a SUSPENDED fiber unwinds it into the side PipelineSteps' finally, now rather than at the next GC; after a TERMINATED one the next advance() builds a fresh Fiber over the same pipeline, whose bound steps carry over.
public
drop() : void
terminated()
public
terminated() : bool