MCPcopy Create free account
hub / github.com/ElementsProject/lightning / json_stream_flush

Function json_stream_flush

common/json_stream.c:125–129  ·  view source on GitHub ↗

Also called when we're oom, so it will kill reader. */

Source from the content-addressed store, hash-verified

123
124/* Also called when we're oom, so it will kill reader. */
125void json_stream_flush(struct json_stream *js)
126{
127 /* Wake the stream reader. FIXME: Could have a flag here to optimize */
128 io_wake(js);
129}
130
131void json_array_start(struct json_stream *js, const char *fieldname)
132{

Callers 4

plugin_notify_cbFunction · 0.85
command_still_pendingFunction · 0.85
json_notify_fmtFunction · 0.85
json_stream_closeFunction · 0.85

Calls 1

io_wakeFunction · 0.85

Tested by

no test coverage detected