Creates a mutual exclude function with the following property:
const mutex = createMutex()mutex(() => { // This function is immediately executed mutex(() => { // This function is not executed, as the mutex is already active. })})
Generated using TypeDoc
Creates a mutual exclude function with the following property: