You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the documentation for lambda.Start states that its parameter needs to be a function matching one of the given signatures.
However, it seems it can also accept an instance of the lambda.Handler interface, as revealed by both the implementation and deprecation comment on lambda.StartHandler.
Please fix the documentation for lambda.Start accordingly.
I would also like to point out that deprecating lambda.StartHandler was a bad idea, because it means we no longer have any compile-time safety.
The text was updated successfully, but these errors were encountered:
Currently, the documentation for
lambda.Start
states that its parameter needs to be a function matching one of the given signatures.However, it seems it can also accept an instance of the
lambda.Handler
interface, as revealed by both the implementation and deprecation comment onlambda.StartHandler
.Please fix the documentation for
lambda.Start
accordingly.I would also like to point out that deprecating
lambda.StartHandler
was a bad idea, because it means we no longer have any compile-time safety.The text was updated successfully, but these errors were encountered: