Slide 9
Slide 9 text
Icicle/ReactPHP
then( $resolve );
} );
$promise2 = new Promise( function( $resolve, $reject ) {
do_something_else_async()->then( $resolve );
} );
Icicle\Awaitable\all( [ $promise1, $promise2 ] )
->done( function() {
echo 'Done!';
}, function() {
echo 'Error!';
} );
Loop\run();