Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove undocumented legacy callbacks (#18)
`context.done` is from the pre-node4.10 runtime days of lambda, it was deprecated in favor of callback, which is optionally sidelined in favor of an async/promise-based return. If the function receives no callback and returns a promise or is marked as async, you should simply return/throw in order to actuate the callbacks.
- Loading branch information