MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / _poll

Method _poll

core/debugger/remote_debugger_peer.cpp:224–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224void RemoteDebuggerPeerTCP::_poll() {
225 tcp_client->poll();
226 if (connected) {
227 _write_out();
228 _read_in();
229 connected = tcp_client->get_status() == StreamPeerTCP::STATUS_CONNECTED;
230 }
231}
232
233RemoteDebuggerPeer *RemoteDebuggerPeerTCP::create(const String &p_uri) {
234 ERR_FAIL_COND_V(!p_uri.begins_with("tcp://"), nullptr);

Callers 1

_thread_funcMethod · 0.45

Calls 2

pollMethod · 0.45
get_statusMethod · 0.45

Tested by

no test coverage detected