Type alias HandlerImplementation<I, O>
HandlerImplementation<I, O>: ((input, cancel, meta, ctx) => O)
Type declaration
-
- (input, cancel, meta, ctx): O
-
Parameters
-
input: I
-
cancel: ((reason?) => void)
-
- (reason?): void
-
Returns void
-
meta: Record<string, JSONValue> | undefined
-
ctx: ContextTimed
Returns O