Lines Matching refs:parent
27 init: common.mustCall((promise, parent) => {
29 initParent = parent;
57 const parent = Promise.resolve(1);
59 // produced an init event with no parent and a settled event.
60 assertState(parent, undefined, undefined, undefined, parent);
62 const child = parent.then(() => {
68 // produced an init event with a parent of the promise the `then(...)`
70 assertState(child, parent);
80 // produced an init event with a parent of the promise the `then(...)`