MCPcopy
hub / github.com/tailwindlabs/tailwindcss / onStdout

Function onStdout

integrations/utils.ts:326–331  ·  view source on GitHub ↗
(predicate: (message: string) => boolean)

Source from the content-addressed store, hash-verified

324 stderrMessages.splice(0)
325 },
326 onStdout(predicate: (message: string) => boolean) {
327 return new Promise<void>((resolve) => {
328 stdoutActors.push({ predicate, resolve })
329 notifyNext(stdoutActors, stdoutMessages)
330 })
331 },
332 onStderr(predicate: (message: string) => boolean) {
333 return new Promise<void>((resolve) => {
334 stderrActors.push({ predicate, resolve })

Callers

nothing calls this directly

Calls 1

notifyNextFunction · 0.85

Tested by

no test coverage detected