Presence namespaced types removed

This commit is contained in:
Jacob Nguyen
2024-04-28 23:37:58 -05:00
parent 071d5eac49
commit e6fba9d8b5
11 changed files with 114 additions and 113 deletions

View File

@@ -8,12 +8,10 @@ export class DefaultErrorHandling implements ErrorHandling {
crash(err: Error): never {
throw err;
}
#keepAlive = 1;
keepAlive = 1;
updateAlive(err: Error) {
this.#keepAlive--;
if (this.#keepAlive === 0) {
this.keepAlive--;
if (this.keepAlive === 0) {
throw err;
}
}