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

Function json_stream_flush

common/json_stream.c:132–136  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

130
131/* Also called when we're oom, so it will kill reader. */
132void json_stream_flush(struct json_stream *js)
133{
134 /* Wake the stream reader. FIXME: Could have a flag here to optimize */
135 io_wake(js);
136}
137
138void json_array_start(struct json_stream *js, const char *fieldname)
139{

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