MCPcopy Create free account
hub / github.com/microsoft/vscode-cpptools / init

Method init

Extension/test/unit/eventing.test.ts:30–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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;

Callers 3

gulpfile.jsFile · 0.45
generateSrcLocBundleFunction · 0.45
eventing.test.tsFile · 0.45

Calls 1

cancelledMethod · 0.80

Tested by

no test coverage detected