Skip to content

dydx/mucking-with-csp

Repository files navigation

Mucking with CSP

What is CSP?

  • CSP are a pattern for concurrent programming that involves two key abstractions:

  • Processes: are tasks that are, in general, executed concurrently. The code defining a Process is executed sequentially.

  • Channels: are first-in first-out (FIFO) queues that are used for communication between Processes. You put an element into a Channel via the operation put and take an element out of a channel via the operation take.

From Communicating Sequential Processes: an alternative to async generators

Where are these examples from?

These examples are from Joe Harlow's video Implementation of CSP

What libraries are used?

The libraries used are @paybase/csp, and @paybase/pool, though Joe does go through a rudimentary implementation of @paybase/csp in the video

About

Mucking around with @paybase/csp and @paybase/pool

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published