Added await all

This commit is contained in:
Joop Schilder
2019-01-16 16:53:44 +01:00
parent 78fdbfaa49
commit 8d1b772382
2 changed files with 24 additions and 4 deletions

View File

@@ -25,3 +25,14 @@ if (!function_exists('async_cleanup')) {
Asynchronous::cleanup();
}
}
if (!function_exists('async_await_all')) {
/**
*
*/
function async_await_all()
{
Asynchronous::awaitChildren();
}
}