@fluidframework/datastore Package
Packages > @fluidframework/datastore
Classes
Class | Description |
---|---|
FluidDataStoreRuntime | Base data store class |
FluidObjectHandle |
Enumerations
Enumeration | Description |
---|---|
DataStoreMessageType |
Interfaces
Interface | Description |
---|---|
ISharedObjectRegistry |
Variables
Variable | Description |
---|---|
mixinRequestHandler | Mixin class that adds request handler to FluidDataStoreRuntime Request handler is only called when data store can't resolve request, i.e. for custom requests. |
mixinSummaryHandler | Mixin class that adds await for DataObject to finish initialization before we proceed to summary. |
Enumerations
DataStoreMessageType enum
Signature:
export declare enum DataStoreMessageType
Enumeration Members
Member | Value | Description |
---|---|---|
Attach | "attach" |
|
ChannelOp | "op" |
Variables
mixinRequestHandler
Mixin class that adds request handler to FluidDataStoreRuntime Request handler is only called when data store can’t resolve request, i.e. for custom requests.
Signature:
mixinRequestHandler: (requestHandler: (request: IRequest, runtime: FluidDataStoreRuntime) => Promise<IResponse>, Base?: typeof FluidDataStoreRuntime) => typeof FluidDataStoreRuntime
mixinSummaryHandler
Mixin class that adds await for DataObject to finish initialization before we proceed to summary.
Signature:
mixinSummaryHandler: (handler: (runtime: FluidDataStoreRuntime) => Promise<{
path: string[];
content: string;
}>, Base?: typeof FluidDataStoreRuntime) => typeof FluidDataStoreRuntime