summaryrefslogtreecommitdiff
path: root/docs/type_system/task.md
blob: 356173763b73fb565fad2621433c8e365b52c7c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Task

---

A segment of code assigned to a process, task code can be recursive

```text
Task[[] TYPE]
```

## Type Body Object Definitions

```c
typedef struct {
    kpl_ptr type;
} kpl_type_body_task;
```

## \`await