Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
coroutines for JavaScript
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.gitignore
LICENSE
README.md
index.js
package.json

README.md

Coroutines

Introduction

Provides coroutines for JavaScript. This heavily relies on the monadic package, and the routines themselves must be written to use a specific monad provided.

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.

Something went wrong with that request. Please try again.