IChannelStorageService Interface
Packages > @fluidframework/datastore-definitions > IChannelStorageService
Storage services to read the objects at a given path.
Signature:
export interface IChannelStorageService
Methods
Method | Description |
---|---|
contains(path) | Determines if there is an object contained at the given path. |
list(path) | Lists the blobs that exist at a specific path. |
read(path) | Reads the object contained at the given path. Returns a base64 string representation for the object. |
Methods
contains
Determines if there is an object contained at the given path.
Signature:
contains(path: string): Promise<boolean>;
Parameters
Parameter | Type | Description |
---|---|---|
path | string |
Returns:
Promise<boolean>
list
Lists the blobs that exist at a specific path.
Signature:
list(path: string): Promise<string[]>;
Parameters
Parameter | Type | Description |
---|---|---|
path | string |
Returns:
Promise<string[]>
read
Reads the object contained at the given path. Returns a base64 string representation for the object.
Signature:
read(path: string): Promise<string>;
Parameters
Parameter | Type | Description |
---|---|---|
path | string |
Returns:
Promise<string>