StartHandlerFunc is the same as StartWithOptions except that it takes a generic input so that the function signature can be validated at compile time.
(handler H, options ...Option)
| 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 | func StartHandlerFunc[TIn any, TOut any, H HandlerFunc[TIn, TOut]](handler H, options ...Option) { |
| 20 | start(newHandler(handler, options...)) |
| 21 | } |
searching dependent graphs…