Den 2018-02-09 kl. 12:48, skrev Niklas Keller:

We have started building a PoC library on top of Fibers, see

We'd like to avoid the additional `await()` function and rather directly
couple Fibers with promises in the PHP core.

Using `await` (the keyword) instead of `Fiber::yield()` feels way better
and avoids the need for any wrapping libraries for what should be a core

`async` can be added to create a new Fiber and Fiber can implement Promise.

Regarding these potential new keywords await & async.
Any need to look into how Hacklang uses these keywords?
Could there be portability aspects on the functionality in

Regards //Björn Larsson

PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:

Reply via email to