Worker::stackStacking work Description
public int Worker::stack
( Threaded
&$work
)Appends the new work to the stack of the referenced worker. Parameters
Return ValuesThe new size of the stack. Examples
Example #1 Stacking a task for execution onto a worker
<?php The above example will output: int(1) |