Skip to content

ondata method incompatible with 'data' event from server #15

@rhythnic

Description

@rhythnic

LoopBack sends a 'data' event instead of a 'message' event from the server. This causes the EventSource polyfill's ondata method to be called continuously. I renamed the ondata method to onRequestData in my project and it fixed it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions