()
| 28 | readonly bump = this.newEvent('bump'); |
| 29 | |
| 30 | async init() { |
| 31 | console.debug('before initialize'); |
| 32 | // tell them we are initializing |
| 33 | if (is.cancelled(await this.initialize())) { |
| 34 | // a handler has cancelled this event. we should stop |
| 35 | console.debug('cancelled?'); |
| 36 | this.wasCancelled = true; |
| 37 | return; |
| 38 | } |
| 39 | this.initWasSuccessful = true; |
| 40 | console.debug('after initialize'); |
| 41 | } |
| 42 | wasCancelled: boolean = false; |
| 43 | initWasSuccessful: boolean = false; |
| 44 | initHandlerRan: boolean = false; |
no test coverage detected