From 52d415537b6b9f6be115dca4daee3f3a36be0ce9 Mon Sep 17 00:00:00 2001 From: Jamie Date: Wed, 19 Sep 2018 21:52:35 -0700 Subject: Fix async-await syntax --- Roadmap.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3