UNPKG

@intuitionrobotics/testelot

Version:
22 lines (21 loc) 811 B
/** * Created by IR on 3/18/17. */ import { Action } from "./Action"; import { ContextKey, TypedHashMap } from "./ContainerContext"; export declare abstract class Action_Container extends Action { protected context: TypedHashMap; private readonly actions; private isProxy; protected constructor(type: Function, tag?: string); isContainer(): boolean; add(...steps: Action<any>[]): this; setProxy(isProxy: boolean): this; get<ValueType>(key: ContextKey<ValueType>): ValueType | undefined; protected remove<ValueType>(key: ContextKey<ValueType>): boolean; set<ValueType>(key: ContextKey<ValueType>, value: ValueType): ValueType | undefined; protected getSteps(): Action<any, any>[]; reset(): void; protected execute(): Promise<void>; isEmpty(): boolean; }