npm install coroutines
|1||downloads in the last month|
|Version||0.0.1 last updated 2 years ago|
|Keywords||coroutines, async, sync, concurrency, threads|
You should really just read the test example.
Each coroutine gets a Process ID (
pid), can spawn new processes, can
yield, can kill other processes. You could easily extend this to
actors/message-passing too by imbuing each process with a mailbox.