2018-09-19 11:35:38 -04:00

11 lines
144 B
TypeScript

// global immutability lock
export let LOCKED = true
export function lock() {
LOCKED = true
}
export function unlock() {
LOCKED = false
}