The KV API is async though, even though in SQlite DOs all storage operations are the same, so I am u

The KV API is async though, even though in SQlite DOs all storage operations are the same, so I am using
await
to be consistent with the API that you need to await a Promise. The underlying behavior doesn't change.
Someone reading the code and not seeing an
await
of a promise will be more confused, rather than having to read all the DO docs to figure out that it doesn't matter.
Was this page helpful?