fix(core): update
This commit is contained in:
		| @@ -3,6 +3,6 @@ | ||||
|  */ | ||||
| export const commitinfo = { | ||||
|   name: '@push.rocks/tapbundle', | ||||
|   version: '5.0.21', | ||||
|   version: '5.0.22', | ||||
|   description: 'tap bundled for tapbuffer' | ||||
| } | ||||
|   | ||||
| @@ -143,6 +143,17 @@ export class Tap<T> { | ||||
|     } | ||||
|   } | ||||
|  | ||||
|   public async stopForcefully(codeArg = 0, directArg = false) { | ||||
|     console.log(`tap stopping forcefully! Code: ${codeArg} / Direct: ${directArg}`); | ||||
|     if (directArg) { | ||||
|       process.exit(codeArg); | ||||
|     } else { | ||||
|       setTimeout(() => { | ||||
|         process.exit(codeArg); | ||||
|       }, 10) | ||||
|     } | ||||
|   } | ||||
|  | ||||
|   /** | ||||
|    * handle errors | ||||
|    */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user