Get the latest tech news
Show HN: Asyncpal: Preemptive concurrency and parallelism for sporadic workloads
Preemptive concurrency and parallelism for sporadic workloads - pyrustic/asyncpal
Additionally, a Future class (never directly instantiated by the user) is provided, whose objects allow a task to be cancelled or its result to be collected. Overall, the characteristics of Asyncpal make it suitable for both implicit use in the background through higher-level abstractions provided by frameworks or libraries, and for explicit use with or without a context manager. Feel free to open an issue to report a bug, suggest some changes, show some useful code snippets, or discuss anything related to this project.
Or read this on Hacker News