Type Alias StringStreamHandler

StringStreamHandler: (data: string, final: boolean) => void

Handler for string generation streams

Type declaration

    • (data: string, final: boolean): void
    • Parameters

      • data: string

        The string output from the stream processor

      • final: boolean

        Whether this is the final block

      Returns void