15 lines
290 B
TypeScript
15 lines
290 B
TypeScript
export interface ITapWrapFunction {
|
|
(): Promise<any>;
|
|
}
|
|
export declare class TapWrap {
|
|
wrapFunction: ITapWrapFunction;
|
|
/**
|
|
* the constructor
|
|
*/
|
|
constructor(wrapFunctionArg: ITapWrapFunction);
|
|
/**
|
|
* run the wrapFunction
|
|
*/
|
|
run(): Promise<void>;
|
|
}
|