nervous-systems / cljs-lambda

Utilities around deploying Clojurescript functions to AWS Lambda
The Unlicense
311 stars 34 forks source link

Transition to using Node v4.3 callback param #54

Closed leppert closed 7 years ago

leppert commented 7 years ago

From the AWS docs:

If you previously created Lambda functions using Node.js runtime v0.10.42, you used one of the context object methods (done(), succeed(), and fail()) to terminate your Lambda function. In Node.js runtime v4.3, these methods are supported primarily for backward compatibility. We recommend you use the callback (see Using the Callback Parameter).

There's more on their reasoning in the announcement.

moea commented 7 years ago

The callback parameter is now used if available at runtime.