This is documentation for an unreleased version. For the latest API, see version 3.18.
Version: Next
withDirectStorageAccess
Callable
withDirectStorageAccess<T>(callback): Promise<T>
Runs callback outside of any storage transaction — the per-call-site escape hatch. Storage operations
made inside it hit the real backend directly, are not rolled back, and operations that a transaction
rejects (drop, stream-valued setValue, request queue internals, ...) are permitted.
Runs
callbackoutside of any storage transaction — the per-call-site escape hatch. Storage operations made inside it hit the real backend directly, are not rolled back, and operations that a transaction rejects (drop, stream-valuedsetValue, request queue internals, ...) are permitted.