Pool::collectCollect references to completed tasks Description
public int Pool::collect(Callable
$collector = ?)Allows the pool to collect references determined to be garbage by the optionally given collector. Parameters
Return ValuesThe number of remaining tasks in the pool to be collected. Changelog
ExamplesExample #1 A basic example of Pool::collect |