Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fastify/fastify
/ start
Function
start
test/reply-web-stream-locked.test.js:15–15 ·
view source on GitHub ↗
(controller)
Source
from the content-addressed store, hash-verified
13
app.get(
'/'
, (req, reply) => {
14
const
rs =
new
ReadableStream({
15
start (controller) { controller.enqueue(
new
TextEncoder().encode(
'hi'
)); controller.close() }
16
})
17
// lock the stream
18
const
reader = rs.getReader()
Callers
nothing calls this directly
Calls
1
close
Method · 0.80
Tested by
no test coverage detected