summaryrefslogtreecommitdiff
path: root/docs/type_system/task.md
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-05-14 16:22:03 -0400
committernodist <kevin.comas.git@gmail.com>2026-05-14 16:22:03 -0400
commitfdb84845b43d9fea2271671cb9732fb3b0515b7d (patch)
tree50e85a13c5f91d04633dc45fb4003530583e4eff /docs/type_system/task.md
parenta3ce6487e845a534bd0d710e19957cdf7001a7a8 (diff)
task is just a container
Diffstat (limited to 'docs/type_system/task.md')
-rw-r--r--docs/type_system/task.md21
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