Extends
Properties
inbox
Inherited from
KvDurability.inbox
outbox
Inherited from
KvDurability.outbox
exclusive
true when only one process can use the backend at a time (memory, file). A restarted
process then knows every lease of its instanceId is its own dead incarnation’s.
Inherited from
KvDurability.exclusive
scopeName
undefined = the unscoped tables).
Inherited from
KvDurability.scopeName
kv
Inherited from
KvDurability.kv
Methods
open()
filePath.
Parameters
Returns
Promise<FileDurability>
Throws
when another live process holds the lock, another open journal of this process holds it, or the file is not a valid journal.close()
stop()
(a restart reuses the instance).
Returns
Promise<void>
scope()
name (tables inbox:<name> / outbox:<name>).
Parameters
Returns
KvDurability
Inherited from
KvDurability.scope
start()
bot.start() before anything is replayed.
Returns
Promise<void>
Inherited from
KvDurability.start
stop()
bot.stop() after the provider stopped.
Returns
Promise<void>
Inherited from
KvDurability.stop
Accessors
locked
Get Signature
Returns
boolean