fix(core): update
This commit is contained in:
parent
16c7ce2394
commit
36d4462504
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@push.rocks/tapbundle',
|
name: '@push.rocks/tapbundle',
|
||||||
version: '5.0.21',
|
version: '5.0.22',
|
||||||
description: 'tap bundled for tapbuffer'
|
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
|
* handle errors
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user