DurableObjectTransaction
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:622
Methods
Section titled “Methods”delete()
Section titled “delete()”Call Signature
Section titled “Call Signature”delete(
key,options?):Promise<boolean>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:643
Parameters
Section titled “Parameters”string
options?
Section titled “options?”Returns
Section titled “Returns”Promise<boolean>
Call Signature
Section titled “Call Signature”delete(
keys,options?):Promise<number>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:644
Parameters
Section titled “Parameters”string[]
options?
Section titled “options?”Returns
Section titled “Returns”Promise<number>
deleteAlarm()
Section titled “deleteAlarm()”deleteAlarm(
options?):Promise<void>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:651
Parameters
Section titled “Parameters”options?
Section titled “options?”Returns
Section titled “Returns”Promise<void>
Call Signature
Section titled “Call Signature”get<
T>(key,options?):Promise<undefined|T>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:623
Type Parameters
Section titled “Type Parameters”T = unknown
Parameters
Section titled “Parameters”string
options?
Section titled “options?”Returns
Section titled “Returns”Promise<undefined | T>
Call Signature
Section titled “Call Signature”get<
T>(keys,options?):Promise<Map<string,T>>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:627
Type Parameters
Section titled “Type Parameters”T = unknown
Parameters
Section titled “Parameters”string[]
options?
Section titled “options?”Returns
Section titled “Returns”Promise<Map<string, T>>
getAlarm()
Section titled “getAlarm()”getAlarm(
options?):Promise<null|number>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:646
Parameters
Section titled “Parameters”options?
Section titled “options?”Returns
Section titled “Returns”Promise<null | number>
list()
Section titled “list()”list<
T>(options?):Promise<Map<string,T>>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:631
Type Parameters
Section titled “Type Parameters”T = unknown
Parameters
Section titled “Parameters”options?
Section titled “options?”Returns
Section titled “Returns”Promise<Map<string, T>>
Call Signature
Section titled “Call Signature”put<
T>(key,value,options?):Promise<void>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:634
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”string
T
options?
Section titled “options?”Returns
Section titled “Returns”Promise<void>
Call Signature
Section titled “Call Signature”put<
T>(entries,options?):Promise<void>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:639
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”entries
Section titled “entries”Record<string, T>
options?
Section titled “options?”Returns
Section titled “Returns”Promise<void>
rollback()
Section titled “rollback()”rollback():
void
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:645
Returns
Section titled “Returns”void
setAlarm()
Section titled “setAlarm()”setAlarm(
scheduledTime,options?):Promise<void>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20251118.0/node_modules/@cloudflare/workers-types/index.ts:647
Parameters
Section titled “Parameters”scheduledTime
Section titled “scheduledTime”number | Date
options?
Section titled “options?”Returns
Section titled “Returns”Promise<void>