new KvDurability(new PostgresDurableKv(pool))).
Extended by
Implements
Constructors
Constructor
Parameters
Returns
KvDurability
Properties
inbox
Implementation of
DurabilityBackend.inbox
outbox
Implementation of
DurabilityBackend.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.
Implementation of
DurabilityBackend.exclusive
scopeName
undefined = the unscoped tables).
kv
Methods
scope()
name (tables inbox:<name> / outbox:<name>).
Parameters
Returns
KvDurability
Implementation of
DurabilityBackend.scope
start()
bot.start() before anything is replayed.
Returns
Promise<void>
Implementation of
DurabilityBackend.start
stop()
bot.stop() after the provider stopped.
Returns
Promise<void>
Implementation of
DurabilityBackend.stop