Skip to content

Messages are only dispatched to the first registered subscription when multiple handlers are registered #9

@Korkonius

Description

@Korkonius

The easiest way to reproduce is to to register two pulse handlers like this:

  • live.RegisterPulseHandler(null, genericHandler)
  • live.RegisterPulseHandler("MYMID", deviceHandler)

In the above example only the genericHandler is called as that is the first match when dispatch locates handlers using "Find".

My expected result when multiple handlers match a received message is that the data is forwarded to all matching handlers not just the first registered one.

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