Skip to content

lambda.Start documentation does not mention lambda.Handler interface #566

Open
@rittneje

Description

@rittneje

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions