glayzzle / glayzzle/php-runtime

SPEC: Async code execution

Open
#1 2 comments 0 reactions 1 assignee Claimed by @ichiriac View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.