(props: { text: string; cacheKey: string; streaming: boolean })
| 319 | } |
| 320 | |
| 321 | function PacedMarkdown(props: { text: string; cacheKey: string; streaming: boolean }) { |
| 322 | const value = createPacedValue( |
| 323 | () => props.text, |
| 324 | () => props.streaming, |
| 325 | ) |
| 326 | |
| 327 | return ( |
| 328 | <Show when={value()}> |
| 329 | <Markdown text={value()} cacheKey={props.cacheKey} streaming={props.streaming} /> |
| 330 | </Show> |
| 331 | ) |
| 332 | } |
| 333 | |
| 334 | function relativizeProjectPath(path: string, directory?: string) { |
| 335 | if (!path) return "" |
nothing calls this directly
no test coverage detected