432
433
branch(id: ServiceIdentifier<any>, first: boolean): Trace {
435
>
this._dep.push([id, first, child]);
436
>
return child;
437
>
}
438
439
stop() {
441
>
Trace._totals += dur;
442
>
443
>
let causedCreation = false;
444
>
445
>
function printChild(n: number, trace: Trace) {
446
>
const res: string[] = [];
447
>
const prefix = new Array(n + 1).join('\t');
448
>
for (const [id, first, child] of trace._dep) {
449
>
if (first && child) {
450
causedCreation = true;
451
res.push(`${prefix}CREATES -> ${id}`);