MCPcopy Index your code
hub / github.com/react/react / close

Function close

fixtures/flight/src/index.js:30–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28 ws.send(chunk);
29 },
30 close() {
31 ws.close();
32 },
33 abort(reason) {
34 ws.close(1000, reason && String(reason));
35 },

Callers

nothing calls this directly

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected