IRuntimeFactory Interface
Packages > @fluidframework/container-definitions > IRuntimeFactory
Exported module definition
Provides the entry point for the ContainerContext to load the proper IRuntime to start up the running instance of the Container.
Signature:
export interface IRuntimeFactory extends IProvideRuntimeFactory
Extends: IProvideRuntimeFactory
Methods
Method | Description |
---|---|
instantiateRuntime(context) | Instantiates a new IRuntime for the given IContainerContext to proxy to This is the main entry point to the Container's business logic |
Methods
instantiateRuntime
Instantiates a new IRuntime for the given IContainerContext to proxy to This is the main entry point to the Container’s business logic
Signature:
instantiateRuntime(context: IContainerContext): Promise<IRuntime>;
Parameters
Parameter | Type | Description |
---|---|---|
context | IContainerContext |
Returns:
Promise<IRuntime>