import * as plugins from './tapbundle.plugins'; export interface ITapWrapFunction { (): Promise; } export class TapWrap { wrapFunction: ITapWrapFunction; /** * the constructor */ constructor(wrapFunctionArg: ITapWrapFunction) { // nothing here this.wrapFunction = wrapFunctionArg; } /** * run the wrapFunction */ async run() { await this.wrapFunction(); } }