Lines Matching refs:received
14 port2.on('message', common.mustCall((received) => {
15 assert.deepStrictEqual(received, input);
22 port2.addEventListener('foo', common.mustCall((received) => {
23 assert.strictEqual(received.type, 'foo');
24 assert.strictEqual(received.detail, 'bar');
26 port2.on('foo', common.mustCall((received) => {
27 assert.strictEqual(received, 'bar');
56 port2.on('message', common.mustCall((received) => {
57 assert.deepStrictEqual(received, input);
77 port2.on('message', common.mustCall((received) => {
78 assert.deepStrictEqual(received, input);