MCPcopy Create free account
hub / github.com/vercel/vercel / send_message

Function send_message

python/vercel-runtime/src/vercel_runtime/vc_init.py:82–85  ·  view source on GitHub ↗
(message: _IpcMessage)

Source from the content-addressed store, hash-verified

80
81
82def send_message(message: _IpcMessage) -> None:
83 if _ipc_sock is not None:
84 with contextlib.suppress(Exception):
85 _ipc_sock.sendall((json.dumps(message) + "\0").encode())
86
87
88# -------------------------------------------------------------------------

Callers 11

emitMethod · 0.85
writeMethod · 0.85
enqueue_or_send_messageFunction · 0.85
_flush_init_log_bufFunction · 0.85
__call__Method · 0.85
finish_requestMethod · 0.85
wrapperFunction · 0.85
_vc_fire_end_onceMethod · 0.85
handle_one_requestMethod · 0.85
vc_init.pyFile · 0.85

Calls 2

sendallMethod · 0.45
encodeMethod · 0.45

Tested by

no test coverage detected