Function
print
(text: string, ...args: any[])
Source from the content-addressed store, hash-verified
| 59 | } |
| 60 | |
| 61 | function print(text: string, ...args: any[]) { |
| 62 | console.debug(`[code-generator/worker]: ${text}`, ...args); |
| 63 | self.postMessage({ |
| 64 | type: 'stdout', |
| 65 | data: text, |
| 66 | args, |
| 67 | }); |
| 68 | } |
| 69 | |
| 70 | function printErr(text: string, ...args: any[]) { |
| 71 | console.debug(`[code-generator/worker]: %c${text}`, 'color:red', ...args); |
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…