DurableObjectNamespace
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:487
Type Parameters
Section titled “Type Parameters”T extends DurableObjectBranded | undefined = undefined
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DurableObjectNamespace<
T>():DurableObjectNamespace<T>
Returns
Section titled “Returns”DurableObjectNamespace<T>
Methods
Section titled “Methods”get(
id,options?):DurableObjectStub<T>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:495
Parameters
Section titled “Parameters”options?
Section titled “options?”DurableObjectNamespaceGetDurableObjectOptions
Returns
Section titled “Returns”getByName()
Section titled “getByName()”getByName(
name,options?):DurableObjectStub<T>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:499
Parameters
Section titled “Parameters”string
options?
Section titled “options?”DurableObjectNamespaceGetDurableObjectOptions
Returns
Section titled “Returns”idFromName()
Section titled “idFromName()”idFromName(
name):DurableObjectId
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:493
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”idFromString()
Section titled “idFromString()”idFromString(
id):DurableObjectId
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:494
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”jurisdiction()
Section titled “jurisdiction()”jurisdiction(
jurisdiction):DurableObjectNamespace<T>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:503
Parameters
Section titled “Parameters”jurisdiction
Section titled “jurisdiction”Returns
Section titled “Returns”DurableObjectNamespace<T>
newUniqueId()
Section titled “newUniqueId()”newUniqueId(
options?):DurableObjectId
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:490
Parameters
Section titled “Parameters”options?
Section titled “options?”DurableObjectNamespaceNewUniqueIdOptions