pandastrike / panda-river

Reactive programming in a functional style in JavaScript.
MIT License
1 stars 2 forks source link

Create mutex.coffee #14

Open dyoder opened 6 years ago

dyoder commented 6 years ago

Reactive flows are async and the value being pass thru may be altered mid-flow. We can either implement a COW proxy or use a lock. This is an (largely untested) implementation of the latter.