PhloTour
EN NL
23 / 30

Parallel jobs

await() runs several app targets at once across the daemon pool.

Read the docs →
.phlo
// fan targets out across the daemon pool, named so results come back by key
$r = await(
	sales:   ['reports::run', 'sales'],
	traffic: ['reports::run', 'traffic'],
	signups: ['reports::run', 'signups'],
)

// $r['sales'], $r['traffic'], $r['signups'] - one wall-clock for all three