Skip to content 

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

List of methods of this class
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

List of parameters
Parameter Type Description
context IContainerContext

Returns:

Promise<IRuntime>