Function: addTransactionCapability()
addTransactionCapability(
state
,logger
,__namedParameters
):SignalKeyStoreWithTransaction
Defined in: src/Utils/auth-utils.ts:84
Adds DB like transaction capability (https://en.wikipedia.org/wiki/Database_transaction) to the SignalKeyStore, this allows batch read & write operations & improves the performance of the lib
Parameters
state
the key store to apply this capability to
logger
ILogger
logger to log events
__namedParameters
Returns
SignalKeyStore with transaction capability