constructor()

in lib/deferred_executor.ts [23:36]


  constructor(delegate: wdpromise.Promise<any>) {
    /** @override */
    this.execute = function(command: any) {
      return delegate.then((executor: any) => {
        return executor.execute(command);
      });
    };

    this.defineCommand = function(name: string, method: string, path: string) {
      delegate.then((executor: any) => {
        executor.defineCommand(name, method, path);
      });
    };
  }