The wasi: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.
- Atomic
incrementand CAS (compare-and-swap) operations. - Batch operations that can reduce the number of round trips to the network.
Imports
- interface
wasi:keyvalue/store@0.2.0-draft - interface
wasi:keyvalue/atomics@0.2.0-draft - interface
wasi:keyvalue/batch@0.2.0-draft
Exports
This world exports nothing.
WIT
/// The `wasi: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.
/// 2. Atomic `increment` and CAS (compare-and-swap) operations.
/// 3. Batch operations that can reduce the number of round trips to the network.
world imports {
import store;
import atomics;
import batch;
}