LogoRobo.js
Framework

AdapterTransaction<K, V>

Interface: AdapterTransaction<K, V>

Transaction context provided by native adapter transactions.

Type Parameters

Type ParameterDefault type
Kstring
Vunknown

Methods

delete()

delete(key): void

Stage a delete operation (committed on transaction success).

Parameters

ParameterType
keyK

Returns

void


get()

get(key): Promise<V>

Get a value within the transaction.

Parameters

ParameterType
keyK

Returns

Promise<V>


set()

set(key, value): void

Stage a set operation (committed on transaction success).

Parameters

ParameterType
keyK
valueV

Returns

void

On this page