8000 Support new Node v4.3 API when running locally · Issue #70 · motdotla/node-lambda · GitHub
[go: up one dir, main page]

Skip to content

Support new Node v4.3 API when running locally #70

@briandonahue

Description

@briandonahue

Lambda now supports Node.js v4.3 and it has changed the API, most notably done(), succeed(), fail() are deprecated on the context object in favor of a callback object:

function handler (event, context, callback) {
...
}

node-lambda should support either API based on the AWS_RUNTIME value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0