diff options
Diffstat (limited to 'docs/type_system/task.md')
| -rw-r--r-- | docs/type_system/task.md | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/docs/type_system/task.md b/docs/type_system/task.md index 099ac19..475d81a 100644 --- a/docs/type_system/task.md +++ b/docs/type_system/task.md @@ -5,24 +5,9 @@ An asynchronous encapsulation ```text -Task[TYPE; Error] -``` - -## \`await - -``` -v : `await task // value is in v or error is thrown -``` - -# Matching +Task_status `alias Enum[...] -```text -# `await task { - .value { v ... }[v] - .error { e ... }[e] -} +Task[Task_status; TYPE] ``` -## .value - -## .error +## \`await |
