introduce TapWrap
This commit is contained in:
14
ts/tapbundle.classes.tapwrap.ts
Normal file
14
ts/tapbundle.classes.tapwrap.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import * as plugins from './tapbundle.plugins'
|
||||
|
||||
export interface ITapWrapFunction {
|
||||
(): Promise<any>
|
||||
}
|
||||
|
||||
export class TapWrap {
|
||||
asyncFunction: ITapWrapFunction
|
||||
constructor(functionArg: ITapWrapFunction) {
|
||||
// nothing here
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user