lsync API
Preparing search index...
@lsync/server
CollectionShardDurableObject
Class CollectionShardDurableObject
Implements
DurableObject
Index
Constructors
constructor
Properties
from
Methods
fetch
web
Socket
Message
Constructors
constructor
new
CollectionShardDurableObject
(
state
:
DurableObjectState
,
env
:
Env
,
options
?:
CollectionShardOptions
,
)
:
CollectionShardDurableObject
Parameters
state
:
DurableObjectState
env
:
Env
options
:
CollectionShardOptions
= {}
Returns
CollectionShardDurableObject
Properties
Static
from
from
:
<
TCollections
extends
CollectionDefinitions
>
(
definitions
:
CollectionSet
<
TCollections
>
,
)
=>
CollectionShardDefinitionBuilder
<
TCollections
>
= collectionShardOptionsFrom
Methods
fetch
fetch
(
request
:
Request
)
:
Promise
<
Response
>
Parameters
request
:
Request
Returns
Promise
<
Response
>
web
Socket
Message
webSocketMessage
(
ws
:
WebSocket
,
message
:
string
|
ArrayBuffer
)
:
Promise
<
void
>
Parameters
ws
:
WebSocket
message
:
string
|
ArrayBuffer
Returns
Promise
<
void
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
from
Methods
fetch
web
Socket
Message
lsync API
Loading...