MCPcopy Index your code
hub / github.com/PrairieLearn/PrairieLearn / ensureChild

Method ensureChild

lib/code-caller.js:209–219  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

207 }
208
209 ensureChild() {
210 debug(`enter ensureChild(), state: ${String(this.state)}, uuid: ${this.uuid}`);
211 this._checkState();
212
213 if (this.state == CREATED) {
214 this._startChild();
215 }
216
217 this._checkState();
218 debug(`exit ensureChild(), state: ${String(this.state)}, uuid: ${this.uuid}`);
219 }
220
221 _startChild() {
222 debug(`enter _startChild(), state: ${String(this.state)}, uuid: ${this.uuid}`);

Callers 1

startNextCallerFunction · 0.80

Calls 3

_checkStateMethod · 0.95
_startChildMethod · 0.95
debugFunction · 0.85

Tested by

no test coverage detected