Method Concurrent.AggregatedPromise()->aggregate_cb()


Method aggregate_cb

protected void aggregate_cb(mixed value, int idx, mapping(int:mixed)|zero results)

Description

Callback used to aggregate the results from dependencies.

Parameter value

Value received from the dependency.

Parameter idx

Identification number for the dependency.

Parameter results

Either of the mappings in dependency_results depending on whether this was a success or a failure callback.

Note

The function may also be called with all arguments set to UNDEFINED in order to poll the current state. This is typically done via a call to start().

See also

start()