Interface HandlerAdapter<Input, Output>
Methods
execute
- execute(input: Input, handler: any): Promise<Output> | Output
-
Parameters
-
input: Input
-
handler: any
Returns Promise<Output>
|
Output
supports
- supports(handler: any): boolean
-
Parameters
Returns boolean
An interface that abstracts the handling of a request for specific types of handlers.