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
- interface
wasmcloud:keyvalue/types@0.2.0 - interface
wasmcloud:keyvalue/store@0.2.0 - interface
wasmcloud:keyvalue/atomics@0.2.0 - interface
wasmcloud:keyvalue/cas@0.2.0 - interface
wasmcloud:keyvalue/batch@0.2.0
Exports
This world exports nothing.
WIT
/// The `wasmcloud:keyvalue/imports` world provides common APIs for interacting with key-value
/// stores. Components targeting this world will be able to do:
///
/// 1. CRUD (create, read, update, delete) operations on key-value stores, with optional
/// per-entry expiry and conditional writes.
/// 2. Atomic `increment` operations, and compare-and-swap (CAS) via the `cas` interface.
/// 3. Batch operations that can reduce the number of round trips to the network.
world imports {
import types;
import store;
import atomics;
import cas;
import batch;
}