HevTaskSystem is a lightweight multi-tasking system (coroutines) designed to run within a native process or thread. It allows you to create numerous tasks that share the same memory space, file descriptors, and other resources.
When a task yields or is blocked by I/O, the scheduler automatically switches to another suitable task from the running list. Each task maintains its own private #HevTask structure and a standalone stack located in the process heap. Within a task, you can perform heap memory allocation, read/write to the stack, and execute I/O operations in a synchronized manner.