authorgravatar for kt@connectfree.co.jpkristopher tate <kt@connectfree.co.jp> 2018-08-02 17:47:39+09:00
committergravatar for kt@connectfree.co.jpkristopher tate <kt@connectfree.co.jp> 2018-08-02 17:47:39+09:00
logac0a87d58d72a8c1fbb9b0af2d3818075729d85a
tree237ebd5f813d97087e2d39145ac3da0525f74e62
parent9b890d70675b105ba2810e6b08010098e198043c

doc/langref.html.in: add builtin @handle() to docs;

Tracking Issue #1296 ;

1 files changed, 10 insertions(+), 0 deletions(-)

doc/langref.html.in+10
......@@ -5383,6 +5383,16 @@ test "main" {
53835383 This function is only valid within function scope.
53845384 </p>
53855385 {#header_close#}
5386 {#header_open|@handle#}
5387 <pre><code class="zig">@handle()</code></pre>
5388 <p>
5389 This function returns a <code>promise->T</code> type, where <code>T</code>
5390 is the return type of the async function in scope.
5391 </p>
5392 <p>
5393 This function is only valid within an async function scope.
5394 </p>
5395 {#header_close#}
53865396 {#header_open|@import#}
53875397 <pre><code class="zig">@import(comptime path: []u8) (namespace)</code></pre>
53885398 <p>