(value: number, message: string)
| 684 | } |
| 685 | |
| 686 | function progress(value: number, message: string): StreamChunk { |
| 687 | return custom(GENERATION_EVENTS.PROGRESS, { |
| 688 | progress: value, |
| 689 | message, |
| 690 | }) |
| 691 | } |
| 692 | |
| 693 | function result(value: unknown): StreamChunk { |
| 694 | return custom(GENERATION_EVENTS.RESULT, value) |
no test coverage detected