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

Function stream_out_complete

lightningd/jsonrpc.c:1172–1181  ·  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

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