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

Function stream_out_complete

lightningd/jsonrpc.c:1176–1185  ·  view source on GitHub ↗

Command has completed writing, and we've written it all out to conn. */

Source from the content-addressed store, hash-verified

1174
1175/* Command has completed writing, and we've written it all out to conn. */
1176static struct io_plan *stream_out_complete(struct io_conn *conn,
1177 struct json_stream *js,
1178 struct json_connection *jcon)
1179{
1180 list_del_from(&jcon->jsouts, &js->list);
1181 tal_free(js);
1182
1183 /* Wait for more output. */
1184 return start_json_stream(conn, jcon);
1185}
1186
1187static struct io_plan *read_json(struct io_conn *conn,
1188 struct json_connection *jcon)

Callers

nothing calls this directly

Calls 3

list_del_fromFunction · 0.85
tal_freeFunction · 0.85
start_json_streamFunction · 0.85

Tested by

no test coverage detected