MCPcopy Create free account
hub / github.com/awslabs/llrt / end

Function end

example/register-hooks/src/http.js:127–130  ·  view source on GitHub ↗
(chunk)

Source from the content-addressed store, hash-verified

125 socket.write(chunk);
126 },
127 end(chunk) {
128 if (chunk) this.write(chunk);
129 socket.end();
130 },
131 };
132
133 // Call the user-defined listener

Callers 3

newMethod · 0.85
endMethod · 0.85
process_streamMethod · 0.85

Calls 2

writeMethod · 0.65
endMethod · 0.65

Tested by

no test coverage detected