We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99a9a4b commit 0d45ea2Copy full SHA for 0d45ea2
lambda/entry_generic.go
@@ -16,8 +16,6 @@ type HandlerFunc[TIn, TOut any] interface {
16
17
// StartHandlerFunc is the same as StartWithOptions except that it takes a generic input
18
// so that the function signature can be validated at compile time.
19
-//
20
-// Currently only the `func (context.Context, TIn) (TOut, error)` variant is supported
21
func StartHandlerFunc[TIn any, TOut any, H HandlerFunc[TIn, TOut]](handler H, options ...Option) {
22
start(newHandler(handler, options...))
23
}
0 commit comments