diff options
Diffstat (limited to 'docs/type_system/fn.md')
| -rw-r--r-- | docs/type_system/fn.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/type_system/fn.md b/docs/type_system/fn.md index 0b8c844..dce371d 100644 --- a/docs/type_system/fn.md +++ b/docs/type_system/fn.md @@ -27,7 +27,7 @@ it : fn `sync 10 @ it { `log v }[v] // 2 4 6 8 10 12 14 16 18 20 // same as above @ { - # `call_sync it { + # `sync it { .value { `log v }[v] .done { `break } .error { `return e }[e] @@ -37,15 +37,15 @@ it : fn `sync 10 # Calling -## \`call_async +## \`async ```text -task : `call_async fn -value : `task_wait task +task : `async fn +value : `wait task ``` -## \`call_sync +## \`sync ```text -fn `call_sync args // `task_wait fn `call_async args +fn `sync args // `wait fn `async args ``` |
