| ... | ... | @@ -5383,6 +5383,16 @@ test "main" { |
| 5383 | 5383 | This function is only valid within function scope. |
| 5384 | 5384 | </p> |
| 5385 | 5385 | {#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#} |
| 5386 | 5396 | {#header_open|@import#} |
| 5387 | 5397 | <pre><code class="zig">@import(comptime path: []u8) (namespace)</code></pre> |
| 5388 | 5398 | <p> |