UpdateOptions
Defined in: src/draft.ts:44
Options for StorageRoot.create and OcflObject.update.
Properties
Section titled “Properties”signal?
Section titled “signal?”
readonlyoptionalsignal?:AbortSignal
Defined in: src/draft.ts:54
Cancels the create or update when aborted: draft operations started after that reject with its reason, and the draft is discarded once the callback settles. It is checked one last time just before the commit begins, and ignored after that.
Example
Section titled “Example”await object.update(details, (draft) => draft.import(dir), { signal: request.signal });