Skip to content

Instantly share code, notes, and snippets.

@mobsense
Created September 8, 2020 03:11
Show Gist options
  • Save mobsense/ddbc5b4ae821c0c3c1595aca038932e0 to your computer and use it in GitHub Desktop.
Save mobsense/ddbc5b4ae821c0c3c1595aca038932e0 to your computer and use it in GitHub Desktop.
Calling a HTTP request without waiting in Lambda
exports.handler = async (event, context) {
/* nowait */ 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