Skip to content

Type Alias: MutexDriverOptions ​

MutexDriverOptions = MemoryMutexOptions | FileMutexOptions | RedisMutexOptions | PostgresMutexOptions | MysqlMutexOptions

The driver option of a Mutex: the store holding the locks, told apart by type. The store decides who shares the locks: 'memory' the components of one process, 'file' the processes of one host, 'redis', 'postgres' and 'mysql' every instance connected to the same server.

Released under the MIT License.