glayzzle / glayzzle/php-runtime
SPEC: Async code execution
Open
enhancement
help wanted
question
- Dominant language
- JavaScript
- Stars
- 9
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
# Some readings before :
* https://davidwalsh.name/async-generators
* https://www.promisejs.org/generators/
* https://github.com/tj/co
* https://github.com/laverdet/node-fibers
# Purpose :
- Be able to natively support asynchronous calls in a synchronous syntax
- Be able to handle promises natively in a synchronous manneer
Should be able to write :
```php
then(function($result) {
echo "$result\n";
echo "**done**\n";
});
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.