MCPcopy
hub / github.com/vuejs/core / transform

Function transform

packages/server-renderer/__tests__/render.spec.ts:54–57  ·  view source on GitHub ↗
(data, _encoding, cb)

Source from the content-addressed store, hash-verified

52const pipeToWritable = (app: any, context?: any) => {
53 const stream = new Transform({
54 transform(data, _encoding, cb) {
55 this.push(data)
56 cb()
57 },
58 })
59 pipeToNodeWritable(app, context, stream)
60 return promisifyStream(stream)

Callers

nothing calls this directly

Calls 2

cbFunction · 0.85
pushMethod · 0.65

Tested by

no test coverage detected