From 43e580321acca7828fc80f211aded0a1fd07e84c Mon Sep 17 00:00:00 2001 From: Gabe Date: Sat, 5 Nov 2016 02:54:48 -0700 Subject: [PATCH] change async code snippet --- documentation/index.html.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/index.html.js b/documentation/index.html.js index bba58d1f..a49f75b6 100644 --- a/documentation/index.html.js +++ b/documentation/index.html.js @@ -868,7 +868,7 @@ Block may be used if you need to force a generator that doesn't yield.

- <%= codeFor('async') %> + <%= codeFor('async', 'countdown(3)') %>

Similar to how yield return forces a generator, await return may be used to force a function to be async.