Function
swap
Conditionally and atomically set key to value if every precondition in options holds.
swap: async func(bucket: borrow<bucket>, key: string, value: list<u8>, options: cas-options) -> result<cas-result, error>;Conditionally and atomically set key to value if every precondition in options holds.
swap: async func(bucket: borrow<bucket>, key: string, value: list<u8>, options: cas-options) -> result<cas-result, error>;