Type Alias StringStreamHandler

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

Handler for string generation streams

Type declaration

    • (data, final): void
    • Parameters

      • data: string

        The string output from the stream processor

      • final: boolean

        Whether this is the final block

      Returns void