Define subscriber with all subscriptions
Define or redefine a subscriber with all subscriptions. In case the subscriber does not exist, it is created. In case the subscriber exist, all subscriptions get replaced.
- subscriber_id string required
The identifier of the subscriber
Request Body array
The list of all subscriptions.
- message_type string
The name of the action to listen to
- wait_for_completion boolean
If an action is sent to this subscriber, the event sender should wait until this subscriber has processed the message and send a done message. This is the expected behaviour of every actor and defaults to true.
- timeout number
This is the duration in seconds this subscriber has time to execute the action. After this time the sender assumes a failure and rejects the result of this actor.
- Example (from schema)
- id string
The identifier of this subscriber
The dictionary of subscriptions, where the key is the message type