Skip to content

jakewins/transactional-patterns

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 

Safe and unsafe transactional patterns

Layout

main.js           - test all patterns
src/
  harness.js      - test harness to prove a pattern correct
  cases/
    blocking/
      patterns.js - blocking transactional patterns
      universe.js - definition of a blocking transactional case
    promise/
      patterns.js - promise-based transactional patterns
      universe.js - definition of a promise-based transactional case

Running the tests

npm install
babel-node main.js

License

MIT

About

Right and wrong ways to do database transactions in promise-based APIs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published