MockSharedObjectServices Class
Mock implementation of IChannelServices
This API is provided for existing users, but is not recommended for new users.
To use, import via @fluidframework/test-runtime-utils/legacy
.
For more information about our API support guarantees, see here.
Signature
export declare class MockSharedObjectServices implements IChannelServices
Implements: IChannelServices
Constructors
Constructor | Alerts | Description |
---|---|---|
(constructor)(contents) | Alpha |
Constructs a new instance of the MockSharedObjectServices class |
Properties
Property | Alerts | Type | Description |
---|---|---|---|
deltaConnection | Alpha |
IDeltaConnection | |
objectStorage | Alpha |
MockObjectStorageService |
Constructor Details
(constructor)
Constructs a new instance of the MockSharedObjectServices
class
This API is provided for existing users, but is not recommended for new users.
For more information about our API support guarantees, see here.
Signature
constructor(contents: {
[key: string]: string;
});
Parameters
Parameter | Type | Description |
---|---|---|
contents | { [key: string]: string; } |
Property Details
deltaConnection
This API is provided for existing users, but is not recommended for new users.
For more information about our API support guarantees, see here.
Signature
deltaConnection: IDeltaConnection;
Type: IDeltaConnection
objectStorage
This API is provided for existing users, but is not recommended for new users.
For more information about our API support guarantees, see here.
Signature
objectStorage: MockObjectStorageService;
Type: MockObjectStorageService