Function

current

Read a key's current value and version, for use as the precondition of a later swap. Returns none if the key does not exist.

current: async func(bucket: borrow​<bucket>, key: string) -> result​<option​<entry>, error>;