MCPcopy Create free account
hub / github.com/fmhy/edit / transaction

Method transaction

api/worker-configuration.d.ts:752–752  ·  view source on GitHub ↗
(
    closure: (txn: DurableObjectTransaction) => Promise<T>
  )

Source from the content-addressed store, hash-verified

750 delete(keys: string[], options?: DurableObjectPutOptions): Promise<number>
751 deleteAll(options?: DurableObjectPutOptions): Promise<void>
752 transaction<T>(
753 closure: (txn: DurableObjectTransaction) => Promise<T>
754 ): Promise<T>
755 getAlarm(options?: DurableObjectGetAlarmOptions): Promise<number | null>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected