Function

await-lookup

Wait on the async lookup of a value in the KV Store.

Returns ok(some(v)) with the value v that was found, ok(none) if no value was found, or err(e) indicating the error e occurred.

await-lookup: func(handle: pending-lookup) -> result​<option​<entry>, kv-error>;