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

Function abort

fixtures/flight/src/index.js:33–35  ·  view source on GitHub ↗
(reason)

Source from the content-addressed store, hash-verified

31 ws.close();
32 },
33 abort(reason) {
34 ws.close(1000, reason && String(reason));
35 },
36 });
37
38 const readable = new ReadableStream({

Callers 2

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected