We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54b3c2c commit 1a3d7d5Copy full SHA for 1a3d7d5
docs/events.md
@@ -1,6 +1,6 @@
1
# Events
2
3
-With events, you can link your functions with CRON Schedule (time-based) triggers.
+With events, you can link your functions with CRON Schedule (time-based) or NATS (message-based) triggers.
4
5
To do this you can add an `events` key in your function or container as follows:
6
@@ -17,6 +17,13 @@ functions:
17
input:
18
key: value
19
key2: value2
20
+ - nats:
21
+ name: my-nats-event
22
+ scw_nats_config:
23
+ subject: ">"
24
+ mnq_nats_account_id: "nats account id"
25
+ mnq_project_id: "project id"
26
+ mnq_region: "fr-par"
27
28
# Container
29
custom:
0 commit comments