Skip to content

can't emit a signal without destination  #98

@idleroamer

Description

@idleroamer

The body of the {{signal.name}}_emitter in the stub.cpp.templ suggests that signals can't be simply broadcasted to be picked up by whoever client which has subscribed for signals via AddMatch.
The destinations for a signal should be known beforehand for emitter function to be able to emit targeted signals which IMHO is kind of in contrast with the message bus concept of signals.
I suggest to make the destination bus names optional and in case of empty list simply emit a signal without a destination.

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