Skip to content

When aborting the event source using abort controller, no callbacks (onError / onClose) are fired #100

Description

When aborting the request using abortController, fetch will throw a error with AbortError as name to identify whether it is aborted by the user or not. But when abort is used on fetchEventSource, neither onClose or onError are fired. onError should be throwing a error when this happens. Due to this, we have to wire up logics differently due to this shortcoming..

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