coroutines

0.0.1 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    1

Package Sidebar

Install

npm i coroutines

Weekly Downloads

1

Version

0.0.1

License

none

Last publish

Collaborators

  • msackman