diff options
author | Jamie <me@thejameskyle.com> | 2018-09-19 21:52:35 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-09-20 02:19:26 -0400 |
commit | 52d415537b6b9f6be115dca4daee3f3a36be0ce9 (patch) | |
tree | 6d88d128b115a380b15a1a2d3a375fdd2ae2e008 | |
parent | fab4bdf40d1fe1a53d00dbc0bc902c71d4446403 (diff) |
Fix async-await syntax
-rw-r--r-- | Roadmap.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Roadmap.md b/Roadmap.md index 9144efce0..1bf381d26 100644 --- a/Roadmap.md +++ b/Roadmap.md @@ -9,7 +9,7 @@ API and Feature requests should be submitted as PRs to this document. Example, non-final API for piping a socket to stdout: ```javascript -function nonblockingpipe(fd) { +async function nonblockingpipe(fd) { let buf = new Uint8Array(1024); // Fixed 1k buffer. for (;;) { let code = await deno.pollNB(fd, deno.POLL_RD | deno.POLL_WR); |