Hack and HHVM by Owen Yamauchi

Hack and HHVM by Owen Yamauchi

Author:Owen Yamauchi
Language: eng
Format: epub, mobi, pdf
Publisher: O'Reilly Media, Inc.
Published: 2015-09-17T16:00:00+00:00


async function thrower(): Awaitable<void> { throw new Exception(); } async function main(): Awaitable<void> { // Does not throw $handle = thrower(); // Throws an Exception, the same object thrower() threw await $handle; }

If you’re using HH\Asio\v() or HH\Asio\m() to await multiple wait handles simultaneously, and one of the component wait handles throws an exception, the combined wait handle will rethrow that exception. If multiple component wait handles throw exceptions, the combined wait handle will rethrow one of them. All of the component wait handles will complete, though (whether they finish normally or throw):



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.