Skip to main content

Interface: SubscribePayload

EventApiModel.SubscribePayload

Payload to subscribe or unsubscribe from an event

Properties

name

name: string

Event name to subscribe to for custom events. This can be a wildcard my_service:* or multiple events my_event|my_other_event.


target

Optional target: EventTarget

The target to subscribe to.