Fix up README.md.
This commit is contained in:
parent
3191e986dc
commit
89ccf182fa
1 changed files with 2 additions and 3 deletions
|
@ -46,8 +46,7 @@ const receive = async () => {
|
|||
assert.equal(await channel.shift(), undefined);
|
||||
};
|
||||
|
||||
send();
|
||||
receive();
|
||||
await Promise.all([send(), receive()]);
|
||||
```
|
||||
|
||||
The `push` and `shift` methods are usually called in different async functions.
|
||||
|
@ -56,7 +55,7 @@ behavior of the async functions.
|
|||
|
||||
# API
|
||||
|
||||
The [API](doc/API.md) is in the `doc` directory.
|
||||
The API is in the [API.md](API.md) file.
|
||||
|
||||
# Similar Projects
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue