@hackage ki1.0.0
A lightweight structured concurrency library
Categories
License
BSD-3-Clause
Maintainer
Mitchell Rosen <mitchellwrosen@gmail.com>, Travis Staton <hello@travisstaton.com>
Links
Versions
Deprecated
Dependencies (2)
- base ^>=4.12 || ^>=4.13 || ^>=4.14 || ^>=4.15 || ^>=4.16
- containers ^>=0.6 Show all…
Dependents (10)
@hackage/timer-wheel, @hackage/ki-unlifted, @hackage/termbox, @hackage/drama, @hackage/termbox-tea, @hackage/comonad-coactions, Show all…
Overview
ki is a lightweight structured-concurrency library inspired by many other projects and blog posts:
- libdill
- trio
- Kotlin coroutines
- Notes on structured concurrency, or: Go statement considered harmful
- Structured Concurrency in High-level Languages
- Update on Structured Concurrency
- Two Approaches to Structured Concurrency
- libdill: Structured Concurrency for C
A previous version of ki also included a mechanism for soft-cancellation/graceful shutdown, which took inspiration
from:
- Go Concurrency Patterns: Context
- .NET 4 Cancellation Framework
- Timeouts and cancellation for humans
- Graceful Shutdown
However, this feature was removed (perhaps temporarily) because the design of the API was unsatisfactory.
Documentation
Badges / meta
ki |
ki-unlifted |
|---|---|