Decorator that marks a function for securing a topic in a message queue.
The decorator takes the topic name, type of action, and an optional integration ID.
If no integration ID is provided, the built_in_queue integration is used.
The function should return a boolean or a Promise of a boolean indicating
whether the action is allowed.
To read more about securing a topic, see the
documentation.
Decorator that marks a function for securing a topic in a message queue. The decorator takes the topic name, type of action, and an optional integration ID. If no integration ID is provided, the
built_in_queue
integration is used.The function should return a boolean or a
Promise
of a boolean indicating whether the action is allowed.To read more about securing a topic, see the documentation.