FluidObjectHandle Class
Handle for a shared FluidObject.
To use, import via @fluidframework/datastore/legacy
.
For more information about our API support guarantees, see here.
Signature
export declare class FluidObjectHandle<T extends FluidObject = FluidObject> extends FluidHandleBase<T>
Extends: FluidHandleBase<T>
Type Parameters
Parameter | Constraint | Default | Description |
---|---|---|---|
T | FluidObject | FluidObject |
Constructors
Constructor | Alerts | Description |
---|---|---|
(constructor)(value, path, routeContext) | Alpha |
Creates a new FluidObjectHandle . |
Properties
Property | Alerts | Modifiers | Type | Description |
---|---|---|---|---|
absolutePath | Alpha |
readonly |
string | |
isAttached | Alpha |
readonly |
boolean | |
path | Alpha |
readonly |
string | |
routeContext | Alpha |
readonly |
IFluidHandleContext | |
value | Alpha |
readonly |
T | Promise<T> |
Constructor Details
(constructor)
Creates a new FluidObjectHandle
.
To use, import via @fluidframework/datastore/alpha
.
For more information about our API support guarantees, see here.
Signature
constructor(value: T | Promise<T>, path: string, routeContext: IFluidHandleContext);
Parameters
Parameter | Type | Description |
---|---|---|
value | T | Promise<T> | The FluidObject object this handle is for. |
path | string | The path to this handle relative to the routeContext . |
routeContext | IFluidHandleContext | The parent @fluidframework/core-interfaces#IFluidHandleContext that has a route to this handle. |
Property Details
absolutePath
To use, import via @fluidframework/datastore/alpha
.
For more information about our API support guarantees, see here.
Signature
readonly absolutePath: string;
Type: string
isAttached
To use, import via @fluidframework/datastore/alpha
.
For more information about our API support guarantees, see here.
Signature
get isAttached(): boolean;
Type: boolean
path
To use, import via @fluidframework/datastore/alpha
.
For more information about our API support guarantees, see here.
Signature
readonly path: string;
Type: string
routeContext
To use, import via @fluidframework/datastore/alpha
.
For more information about our API support guarantees, see here.
Signature
readonly routeContext: IFluidHandleContext;
Type: IFluidHandleContext
value
To use, import via @fluidframework/datastore/alpha
.
For more information about our API support guarantees, see here.