You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 14, 2023. It is now read-only.
Copy file name to clipboardexpand all lines: README.md
+2-5
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,8 @@
1
1
# slack-slash-lambda
2
-
This repo holds code and configuration for lambda based [slash commands](https://api.slack.com/slash-commands) for Slack.
2
+
This repo holds code and configuration to create a lambda based [slash commands](https://api.slack.com/slash-commands) for Slack. The processing of the commands is done asynchronously.
3
3
4
4
## Details for geeks
5
-
Slack allows your API to respond in sync or async manner. For synchronus calls the
6
-
timeout is 3 seconds. For any work that might take longer than that it is recommended to use callback url while responding with `200 OK` to the initial call.
7
-
The configuration in thie repo configures API gateway to run the Lambdas asynchronusly.
8
-
5
+
Slack allows support both sync and async API. For synchronus calls the timeout is 3 seconds. For longer processing periods, async API is the way to go. This repository configured to respond in async manner. It is done by responding with `200 OK` to the initial call and passing the callback url to the handler function.
0 commit comments