MockContainerRuntimeForReconnection Class
Specalized implementation of MockContainerRuntime for testing ops during reconnection.
Signature
export declare class MockContainerRuntimeForReconnection extends MockContainerRuntime
Extends: MockContainerRuntime
Constructors
Constructor | Description |
---|---|
(constructor)(dataStoreRuntime, factory) | Constructs a new instance of the MockContainerRuntimeForReconnection class |
Properties
Property | Type | Description |
---|---|---|
connected | boolean |
Methods
Method | Return Type | Description |
---|---|---|
process(message) | void | |
submit(messageContent, localOpMetadata) | number |
Constructor Details
(constructor)
Constructs a new instance of the MockContainerRuntimeForReconnection
class
Signature
constructor(dataStoreRuntime: MockFluidDataStoreRuntime, factory: MockContainerRuntimeFactoryForReconnection);
Parameters
Parameter | Type | Description |
---|---|---|
dataStoreRuntime | MockFluidDataStoreRuntime | |
factory | MockContainerRuntimeFactoryForReconnection |
Property Details
connected
Signature
get connected(): boolean;
set connected(connected: boolean);
Type: boolean
Method Details
process
Signature
process(message: ISequencedDocumentMessage): void;
Parameters
Parameter | Type | Description |
---|---|---|
message | ISequencedDocumentMessage |
submit
Signature
submit(messageContent: any, localOpMetadata: unknown): number;
Parameters
Parameter | Type | Description |
---|---|---|
messageContent | any | |
localOpMetadata | unknown |
Returns
Return type: number