diff options
| author | kristopher tate <kt@connectfree.co.jp> | 2018-08-02 17:47:39 +0900 |
|---|---|---|
| committer | kristopher tate <kt@connectfree.co.jp> | 2018-08-02 17:47:39 +0900 |
| commit | ac0a87d58d72a8c1fbb9b0af2d3818075729d85a (patch) | |
| tree | 237ebd5f813d97087e2d39145ac3da0525f74e62 /doc | |
| parent | 9b890d70675b105ba2810e6b08010098e198043c (diff) | |
| download | zig-ac0a87d58d72a8c1fbb9b0af2d3818075729d85a.tar.gz zig-ac0a87d58d72a8c1fbb9b0af2d3818075729d85a.zip | |
doc/langref.html.in: add builtin @handle() to docs;
Tracking Issue #1296 ;
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/langref.html.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in index 92fae2347d..54677bc5b5 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -5383,6 +5383,16 @@ test "main" { This function is only valid within function scope. </p> {#header_close#} + {#header_open|@handle#} + <pre><code class="zig">@handle()</code></pre> + <p> + This function returns a <code>promise->T</code> type, where <code>T</code> + is the return type of the async function in scope. + </p> + <p> + This function is only valid within an async function scope. + </p> + {#header_close#} {#header_open|@import#} <pre><code class="zig">@import(comptime path: []u8) (namespace)</code></pre> <p> |
