这是indexloc提供的服务,不要输入任何密码
Skip to content

Feature request: add an event handler on event source received #330

@Zaimwa9

Description

@Zaimwa9

Problem

At the moment the SDK provides realtime capabilities through eventSourceUrl and realtime init parameters but it doesn't expose a specific handler when a new event is received.
To add custom logic, it requires to setup the event-source manually

Solution

A solution could be to add a new handler onEventSourceReceived that would be triggered when a new event is received to allow for additional logic independently from onChange

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