site/node_modules/async-mutex/es6/errors.js
2024-10-14 08:09:33 +02:00

4 lines
218 B
JavaScript

export var E_TIMEOUT = new Error('timeout while waiting for mutex to become available');
export var E_ALREADY_LOCKED = new Error('mutex already locked');
export var E_CANCELED = new Error('request for lock canceled');