ModelHookFn
ModelHookFn = (
ctx,next) =>Promise<ModelResponse>
Function type for the model hook.
Parameters
Section titled “Parameters”() => Promise<ModelResponse>
Returns
Section titled “Returns”Promise<ModelResponse>
ModelHookFn = (
ctx,next) =>Promise<ModelResponse>
Function type for the model hook.
() => Promise<ModelResponse>
Promise<ModelResponse>