Skip to content

How to manage onAbort #1404

@ragingwind

Description

@ragingwind

I guess, managing onAbort is very important features in the production level. However, I coundn't find real working examples for this https://ai-sdk.dev/docs/advanced/stopping-streams#C2bcf146e-L8. steps are always [] which make me confusing how to manage partial messages as aborted by stop() on the client. It would be good to have onAbort example. (using v5 :))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions