Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cloudflare/cloudflared
/ _drain
Method
_drain
component-tests/util.py:39–42 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
37
@staticmethod
38
def
_start_reader(pipe, sink):
39
def
_drain():
40
for
line in pipe:
41
sink.append(line)
42
pipe.close()
43
t = threading.Thread(target=_drain, daemon=True)
44
t.start()
45
return
t
Callers
nothing calls this directly
Calls
1
close
Method · 0.45
Tested by
no test coverage detected