Home
last modified time | relevance | path

Searched refs:onmessage (Results 1 - 25 of 43) sorted by relevance

12

/third_party/node/test/parallel/
H A Dtest-whatwg-webstreams-transfer.js60 // 3. ReadableStream R2 is passed to the port1.onmessage callback as the
62 // 4. Within port1.onmessage, we transfer ReadableStream R2 to port1, which
66 // 5. ReadableStream R3 is passed to the port2.onmessage callback as the
68 // 6. Once the reader is attached to R3 in the port2.onmessage callback,
89 port2.onmessage = common.mustCall(({ data }) => {
100 port1.onmessage = common.mustCall(({ data }) => {
137 port2.onmessage = common.mustCall(({ data }) => {
149 port1.onmessage = common.mustCall(({ data }) => {
176 // The port1.onmessage callback receives WritableStream W2 and
180 // port2.onmessage
[all...]
H A Dtest-abortsignal-cloneable.js26 mc.port1.onmessage = common.mustCall(({ data }) => {
66 mc.port1.onmessage = common.mustCall(({ data }) => {
80 mc.port1.onmessage = common.mustCall();
H A Dtest-worker-message-port-transfer-closed.js13 port1.onmessage = common.mustNotCall();
14 port2.onmessage = common.mustNotCall();
H A Dtest-worker-message-port.js34 port1.onmessage = common.mustCall((message) => {
43 port2.onmessage = common.mustCall((message) => {
182 'close', 'constructor', 'hasRef', 'onmessage', 'onmessageerror',
H A Dtest-worker-message-port-close.js46 ch.port1.onmessage = common.mustNotCall();
/third_party/node/test/fixtures/
H A Dchild-process-spawn-node.js4 function onmessage(m) { function
7 process.removeListener('message', onmessage);
10 process.on('message', onmessage);
/third_party/node/test/fixtures/wpt/webmessaging/broadcastchannel/resources/
H A Dworker.js18 c.onmessage = e => {
32 onmessage = e => handler(e, postMessage);
36 port.onmessage = e => handler(e, msg => port.postMessage(msg));
/third_party/node/lib/internal/per_context/
H A Dmessageport.js32 if (typeof this.onmessage === 'function')
33 this.onmessage(event);
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-broker/mount-origin/
H A Dexample.js41 subscriber_ws.onmessage =function got_packet(msg) {
61 publisher_ws.onmessage =function got_packet(msg) {
/third_party/node/test/fixtures/wpt/resources/
H A Dchannel.sub.js54 async getOrCreate(type, uuid, onmessage=null) {
60 if (onmessage !== null) {
61 socket.onmessage = onmessage;
77 if (onmessage !== null) {
159 * @param {Function} onmessage - Event handler function for
162 async connect(onmessage) {
166 this.socket = await socketCache.getOrCreate(this.type, this.uuid, onmessage);
/third_party/node/test/fixtures/wpt/streams/transferable/resources/
H A Dservice-worker.js4 onmessage = msg => {
/third_party/node/benchmark/worker/
H A Dmessageport.js40 port2.onmessage = listener;
/third_party/node/lib/internal/cluster/
H A Dchild.js53 process.on('internalMessage', internal(worker, onmessage));
56 function onmessage(message, handle) {
/third_party/node/lib/internal/webstreams/
H A Dtransfer.js113 port.onmessage = ({ data }) => {
182 port.onmessage = ({ data }) => {
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-pmd-bulk/mount-origin/
H A Dexample.js42 ws.onmessage = function got_packet(msg) {
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads-foreign-libuv-smp/mount-origin/
H A Dexample.js42 ws.onmessage =function got_packet(msg) {
/third_party/libwebsockets/minimal-examples/client-server/minimal-ws-proxy/mount-origin/
H A Dexample.js42 ws.onmessage =function got_packet(msg) {
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-raw-proxy/mount-origin/
H A Dexample.js42 ws.onmessage =function got_packet(msg) {
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threadpool/mount-origin/
H A Dexample.js48 ws.onmessage = function got_packet(msg) {
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-timer/mount-origin/
H A Dexample.js42 ws.onmessage =function got_packet(msg) {
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server/mount-origin/
H A Dexample.js42 ws.onmessage =function got_packet(msg) {
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-ring/mount-origin/
H A Dexample.js41 ws.onmessage =function got_packet(msg) {
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-pmd/mount-origin/
H A Dexample.js43 ws.onmessage =function got_packet(msg) {
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads/mount-origin/
H A Dexample.js42 ws.onmessage =function got_packet(msg) {
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-pmd-corner/mount-origin/
H A Dexample.js47 ws[n].onmessage = function got_packet(msg) {

Completed in 7 milliseconds

12