@fluidframework/datastore Package

Packages > @fluidframework/datastore

Classes

List of classes contained in this package or namespace
Class Description
FluidDataStoreRuntime Base data store class
FluidObjectHandle

Enumerations

List of enums contained in this package or namespace
Enumeration Description
DataStoreMessageType

Interfaces

List of interfaces contained in this package or namespace
Interface Description
ISharedObjectRegistry

Variables

List of variables contained in this package or namespace
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

List of members in use in this enum
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