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

Method constructor

Extension/test/unit/examples/someclass.ts:40–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38 init: Promise<void>;
39 works = false;
40 constructor() {
41 this.init = sleep(1).then(() => { this.works = true; });
42 }
43});
44
45export const AnotherTwo = Async(class AnotherTwo {

Callers

nothing calls this directly

Calls 2

sleepFunction · 0.85
thenMethod · 0.45

Tested by

no test coverage detected