Is onFinish called when stream is aborted?
This post might have stale content, as HEAD is 1931 commits ahead.
When using streamText and toUIMessageStream with onFinish, is onFinish called when the stream is aborted (e.g. AbortController.abort()) before the model finishes generating? Or is onFinish only called when the stream completes normally?
END OF POST