CloudflareDurableObjectStoreObject class
A SQLite-backed Durable Object that serves CloudflareDurableObjectStore.
Register this class with defineCloudflareDurableObjects and bind the
corresponding Durable Object namespace in Wrangler. The implementation
uses synchronous SQLite operations inside one Durable Object request, so
a lock acquisition and its expiry cleanup are atomic.
- Inheritance
-
- Object
- CloudflareDurableObject
- CloudflareDurableObjectStoreObject
Constructors
- CloudflareDurableObjectStoreObject(CloudflareDurableObjectState state, CloudflareEnvironment env)
- Performs the CloudflareDurableObjectStoreObject operation.
Properties
- env → CloudflareEnvironment
-
The env value.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → CloudflareDurableObjectState
-
The state value.
finalinherited
Methods
-
alarm(
) → FutureOr< void> -
Performs the alarm operation.
inherited
-
fetch(
CloudflareRequest request) → Future< CloudflareResponse> -
Performs the fetch operation.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
webSocketClose(
CloudflareWebSocket webSocket, int code, String reason, bool wasClean) → FutureOr< void> -
Handles a WebSocket closed by the peer or by the Worker runtime.
inherited
-
webSocketError(
CloudflareWebSocket webSocket, Object error) → FutureOr< void> -
Handles a WebSocket error reported by the Worker runtime.
inherited
-
webSocketMessage(
CloudflareWebSocket webSocket, Object message) → FutureOr< void> -
Handles a message delivered by the Durable Object hibernation API.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited