Lines Matching defs:disconnect
634 target.disconnect();
678 // Process a pending disconnect (if any).
885 // Connected will be set to false immediately when a disconnect() is
888 // - disconnect() never requested: channel is not null and connected
890 // - disconnect() requested, messages in the queue: channel is not null
892 // - disconnect() requested, channel actually disconnected: channel is
896 target.disconnect = function() {
905 // If there are no queued messages, disconnect immediately. Otherwise,
906 // postpone the disconnect so that it happens internally after the
928 target.emit('disconnect');