View source: R/start-listening.R
start_listening | R Documentation |
Start listening for events, and process them as they come
start_listening(config = lambda_config(), timeout_seconds = NULL)
config |
A list of configuration values as created by the
|
timeout_seconds |
If set, the function will stop listening for events after this timeout. The timeout is checked between events, so this won't interrupt the function while it is waiting for a new event. This argument is provided for testing purposes, and shouldn't otherwise need to be set: AWS should handle the shutdown of idle Lambda instances. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.