rosmaro-process-wide-lock
v1.2.0
Published
Process-wide, in-memory locks for Rosmaro
Downloads
11
Readme
Process-wide lock for Rosmaro
This package provides process-wide, in-memory locks for Rosmaro. They are useful in situation where a Rosmaro model is used only by one process (like development environments or the browser).
Usage
const make_lock = require('rosmaro-process-wide-lock')
const lock = make_lock()
Installing
$ npm i rosmaro-process-wide-lock --save