message: instantiateComponent in agent scheduler.
diff: import { Component } from "@prague/app-component";
  import { ConsensusRegisterCollection, ConsensusRegisterCollectionExtension } from "@prague/consensus-register-collection";
  import { MapExtension } from "@prague/map";
  +import {
  + IComponentContext,
  + IComponentRuntime,
  +} from "@prague/runtime-definitions";
  import * as assert from "assert";
  import * as debug from "debug";
  import { IAgentScheduler, ITask } from "./interfaces";
  @@ -288,3 +292,8 @@ export class AgentScheduler extends Component implements IAgentScheduler {
  return this.scheduler.write(key, value);
  }
  }
  +
  +export async function instantiateComponent(context: IComponentContext): Promise<IComponentRuntime> {
  + const factory = Component.createComponentFactory(AgentScheduler);
  + return factory.instantiateComponent(context);
  +}
  