Preparing search index...
The search index is not available
@cloudflare/workers-types
@cloudflare/workers-types
DurableObjectNamespace
Interface DurableObjectNamespace<T>
interface
DurableObjectNamespace
<
T
>
{
get
(
id
,
options
?
)
:
DurableObjectStub
<
T
>
;
idFromName
(
name
)
:
DurableObjectId
;
idFromString
(
id
)
:
DurableObjectId
;
jurisdiction
(
jurisdiction
)
:
DurableObjectNamespace
<
T
>
;
newUniqueId
(
options
?
)
:
DurableObjectId
;
}
Type Parameters
T
extends
DurableObjectBranded
|
undefined
=
undefined
Index
Methods
get
id
From
Name
id
From
String
jurisdiction
new
Unique
Id
Methods
get
get
(
id
,
options
?
)
:
DurableObjectStub
<
T
>
Parameters
id
:
DurableObjectId
Optional
options
:
DurableObjectNamespaceGetDurableObjectOptions
Returns
DurableObjectStub
<
T
>
id
From
Name
id
From
Name
(
name
)
:
DurableObjectId
Parameters
name
:
string
Returns
DurableObjectId
id
From
String
id
From
String
(
id
)
:
DurableObjectId
Parameters
id
:
string
Returns
DurableObjectId
jurisdiction
jurisdiction
(
jurisdiction
)
:
DurableObjectNamespace
<
T
>
Parameters
jurisdiction
:
DurableObjectJurisdiction
Returns
DurableObjectNamespace
<
T
>
new
Unique
Id
new
Unique
Id
(
options
?
)
:
DurableObjectId
Parameters
Optional
options
:
DurableObjectNamespaceNewUniqueIdOptions
Returns
DurableObjectId
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
get
id
From
Name
id
From
String
jurisdiction
new
Unique
Id
@cloudflare/workers-types
Loading...