v0.2.0 · World
imports
The wasmcloud:keyvalue/imports world provides common APIs for interacting with key-value
stores. Components targeting this world will be able to do:
- CRUD (create, read, update, delete) operations on key-value stores, with optional per-entry expiry and conditional writes.
- Atomic
incrementoperations, and compare-and-swap (CAS) via thecasinterface. - Batch operations that can reduce the number of round trips to the network.
Imports
I
types
ITypes shared across the keyvalue interfaces.
store
IA keyvalue interface that provides eventually consistent key-value operations.
atomics
IA keyvalue interface that provides atomic operations.
cas
IA keyvalue interface that provides compare-and-swap (optimistic concurrency) for a single key.
batch
A keyvalue interface that provides batch operations.