Home
last modified time | relevance | path

Searched refs:onclose (Results 1 - 25 of 30) sorted by relevance

12

/third_party/node/lib/internal/streams/
H A Dcompose.js82 let onclose;
86 const cb = onclose;
87 onclose = null;
233 if (!err && onclose !== null) {
241 if (onclose === null) {
244 onclose = callback;
H A Dend-of-stream.js142 const onclose = () => {
184 stream.on('abort', onclose);
198 stream.on('aborted', onclose);
206 stream.on('close', onclose);
209 process.nextTick(onclose);
232 stream.removeListener('aborted', onclose);
234 stream.removeListener('abort', onclose);
242 stream.removeListener('close', onclose);
H A Dduplexify.js254 let onclose;
258 const cb = onclose;
259 onclose = null;
356 if (!err && onclose !== null) {
364 if (onclose === null) {
367 onclose = callback;
H A Dlegacy.js39 source.on('close', onclose);
51 function onclose() {
75 source.removeListener('close', onclose);
/third_party/node/lib/internal/
H A Dsocket_list.js19 if (!this.child.connected) return onclose();
22 function onclose() { function
29 self.child.removeListener('disconnect', onclose);
35 this.child.once('disconnect', onclose);
/third_party/node/test/parallel/
H A Dtest-inspector-port-zero.js31 let onclose = () => {
32 onclose = () => assert.strictEqual(port, stdout.trim());
34 proc.stdout.on('close', mustCall(() => onclose()));
35 proc.stderr.on('close', mustCall(() => onclose()));
H A Dtest-http-1.0-keep-alive.js138 function onclose() {
143 conn.on('close', onclose);
149 conn.removeListener('close', onclose);
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-broker/mount-origin/
H A Dexample.js48 subscriber_ws.onclose = function(){
64 publisher_ws.onclose = function(){
/third_party/node/lib/internal/repl/
H A Dhistory.js77 fs.close(hnd, onclose);
80 function onclose(err) {
/third_party/libwebsockets/test-apps/
H A Dtest.js222 socket_di.onclose = function(){
282 socket_status.onclose = function(){
329 socket_ot.onclose = function(e){
452 socket_lm.onclose = function(){
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-eventlib-demos/mount-origin/
H A Dtest.js222 socket_di.onclose = function(){
282 socket_status.onclose = function(){
329 socket_ot.onclose = function(e){
452 socket_lm.onclose = function(){
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-pmd-bulk/mount-origin/
H A Dexample.js53 ws.onclose = function(){
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads-foreign-libuv-smp/mount-origin/
H A Dexample.js61 ws.onclose = function(){
/third_party/libwebsockets/minimal-examples/client-server/minimal-ws-proxy/mount-origin/
H A Dexample.js61 ws.onclose = function(){
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-raw-proxy/mount-origin/
H A Dexample.js49 ws.onclose = function(){
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threadpool/mount-origin/
H A Dexample.js67 ws.onclose = function(){
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-timer/mount-origin/
H A Dexample.js49 ws.onclose = function(){
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server/mount-origin/
H A Dexample.js49 ws.onclose = function(){
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-ring/mount-origin/
H A Dexample.js48 ws.onclose = function(){
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-pmd/mount-origin/
H A Dexample.js50 ws.onclose = function(){
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads/mount-origin/
H A Dexample.js61 ws.onclose = function(){
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-pmd-corner/mount-origin/
H A Dexample.js61 ws[n].onclose = function(){
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads-smp/mount-origin/
H A Dexample.js61 ws.onclose = function(){
/third_party/node/deps/undici/src/lib/websocket/
H A Dwebsocket.js442 get onclose () {
448 set onclose (fn) {
561 onclose: kEnumerableProperty,
/third_party/node/lib/internal/worker/
H A Dio.js254 function onclose() { class
262 value: onclose,

Completed in 9 milliseconds

12