An open API service indexing awesome lists of open source software.

https://github.com/dacheng-zig/zigcoro-sleep


https://github.com/dacheng-zig/zigcoro-sleep

coroutine zig zoroutine

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# zigcoro-sleep

This is a coroutine sleep example, powered by zigcoro, which is a coroutine engine.

> zigcoro: https://github.com/rsepassi/zigcoro
>
> libxev: https://github.com/mitchellh/libxev

### Run

```shell
zig build run
```

### Release

```shell
zig build -Doptimize=ReleaseSmall
```

Then check `zig-out/bin`.