Skip to content

Event-based emit support? #49

@TimKieu

Description

@TimKieu

Current example uses polling-interval emit events.

if we have a stable connection, can we do emit fired by a given event?
For example, an order is updated from a client page, it updates server DB (REST/trpc/FormSubmit), then trigger SSE emit when update DB sucessfully or REST/trpc/FormSubmit workflow completed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    seenI've seen and read this issue and I'll try find some time soon to work on it.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions