Skip to content

eventSource?.readyState Not Updating to closed on network disconnect #142

Open

Description

@narendra-ct

Hi..

  • Observed eventSource?.readyState is still "Open" state even after network disconnection.

Steps

  • Connect with eventSource
  • Turn off network
  • Triggered onComplete callback. Still the eventSource?.readyState is not updated to "Closed"

Activity

  1. tbaranes commented on Nov 9, 2020

    @tbaranes

    Friendly ping about this issue, is that an expected behaviour?

  2. tbaranes commented on Nov 9, 2020

    @tbaranes

    I opened a PR (#146) to fixed this behaviour since I don't think it's expected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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