Skip to content

Instantly share code, notes, and snippets.

@mobsense
Created September 8, 2020 03:17
Show Gist options
  • Save mobsense/c276c889962e66bb6b4d36d5bb9fd481 to your computer and use it in GitHub Desktop.
Save mobsense/c276c889962e66bb6b4d36d5bb9fd481 to your computer and use it in GitHub Desktop.
Invoking a HTTP request that does not wait for a response
exports.handler = async (event, context) {
await request('https://example.com', metrics)
return 'done'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment