Home
last modified time | relevance | path

Searched refs:onMessage (Results 1 – 25 of 39) sorted by relevance

12

/third_party/node/doc/api/
Ddiagnostics_channel.md137 #### `channel.subscribe(onMessage)`
139 * `onMessage` {Function} The handler to receive channel messages
157 #### `channel.unsubscribe(onMessage)`
168 * `onMessage` {Function} The previous subscribed handler to remove
172 [`channel.subscribe(onMessage)`][].
179 function onMessage(message, name) {
183 channel.subscribe(onMessage);
185 channel.unsubscribe(onMessage);
189 [`channel.subscribe(onMessage)`]: #diagnostics_channel_channel_subscribe_onmessage argument
/third_party/node/test/parallel/
Dtest-dgram-send-address-types.js8 const onMessage = common.mustSucceed((bytes) => { constant
17 client.send(buf, port, address, onMessage);
21 client.send(buf, port, onMessage);
Dtest-dgram-send-multi-buffer-copy.js9 const onMessage = common.mustCall(function(err, bytes) { constant
18 client.send(toSend, this.address().port, common.localhostIPv4, onMessage);
22 client.on('message', common.mustCall(function onMessage(buf, info) { function
Dtest-dgram-connect-send-multi-buffer-copy.js9 const onMessage = common.mustCall(common.mustSucceed((bytes) => { constant
19 client.send(toSend, onMessage);
23 client.on('message', common.mustCall(function onMessage(buf, info) { function
Dtest-dgram-send-callback-buffer-empty-address.js11 const onMessage = common.mustSucceed((bytes) => { constant
16 client.bind(0, () => client.send(buf, client.address().port, onMessage));
Dtest-dgram-send-callback-buffer.js11 const onMessage = common.mustSucceed((bytes) => { constant
19 onMessage));
Dtest-dgram-connect-send-callback-buffer.js11 const onMessage = common.mustSucceed((bytes) => { constant
18 client.send(buf, onMessage);
Dtest-dgram-send-callback-buffer-length-empty-address.js13 const onMessage = common.mustSucceed(function messageSent(bytes) { constant
21 onMessage));
Dtest-dgram-send-empty-buffer.js33 client.on('message', common.mustCall(function onMessage(buffer) { function
Dtest-dgram-send-empty-array.js12 client.on('message', common.mustCall(function onMessage(buf, info) { function
Dtest-dgram-send-callback-multi-buffer-empty-address.js21 client.on('message', common.mustCall(function onMessage(buf) { function
/third_party/typescript/src/testRunner/unittests/tsserver/
Dsession.ts146 session.onMessage(JSON.stringify(configureRequest));
164 session.onMessage(JSON.stringify(setOptionsRequest));
292 session.onMessage(JSON.stringify(req));
296 session.onMessage(JSON.stringify(req));
300 session.onMessage(JSON.stringify(req));
304 session.onMessage(JSON.stringify(req));
308 session.onMessage(JSON.stringify(req));
312 session.onMessage(JSON.stringify(req));
314 session.onMessage("GARBAGE NON_JSON DATA");
329 session.onMessage(JSON.stringify(req));
[all …]
DwebServer.ts71 session.onMessage({
100 session.onMessage({
DmetadataInResponse.ts13 session.onMessage(JSON.stringify(command));
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/plugin/common/
DBasicMessageChannel.java127 void onMessage(@Nullable T message, @NonNull Reply<T> reply); in onMessage() method
169 public void onMessage(@Nullable ByteBuffer message, @NonNull final BinaryReply callback) { in onMessage() method in BasicMessageChannel.IncomingMessageHandler
171 handler.onMessage(codec.decodeMessage(message), new Reply<T>() { in onMessage()
DBinaryMessenger.java87 void onMessage(@Nullable ByteBuffer message, @NonNull BinaryReply reply); in onMessage() method
DMethodChannel.java219 public void onMessage(ByteBuffer message, final BinaryReply reply) { in onMessage() method in MethodChannel.IncomingMethodCallHandler
DEventChannel.java169 public void onMessage(ByteBuffer message, final BinaryReply reply) { in onMessage() method in EventChannel.IncomingStreamRequestHandler
/third_party/node/benchmark/worker/
Decho.js39 worker.on('message', onMessage);
63 function onMessage() { function
/third_party/node/benchmark/cluster/
Decho.js41 cluster.fork().on('online', onOnline).on('message', onMessage);
64 function onMessage() { function
/third_party/node/lib/
Ddiagnostics_channel.js55 const onMessage = this._subscribers[i];
56 onMessage(data, this.name);
/third_party/typescript/src/tsserver/
DwebServer.ts117 this.onMessage(message.data);
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/engine/systemchannels/
DAccessibilityChannel.java33 …public void onMessage(@Nullable Object message, @NonNull BasicMessageChannel.Reply<Object> reply) {
/third_party/flutter/flutter/examples/flutter_view/android/app/src/main/java/com/example/view/
DMainActivity.java73 public void onMessage(String s, Reply<String> reply) { in onCreate()
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/engine/dart/
DDartMessenger.java96 handler.onMessage(buffer, new Reply(flutterJNI, replyId)); in handleMessageFromDart()

12