The existing handler function.
Optionaloptions: IStaticHandlerParams<Data>The options for the static handler.
Interface defining the properties of the IStaticHandlerParams class.
Optionalfallback?: (e: Error) => voidOptionalonLoadBegin?: () => voidOptionalonLoadEnd?: (isOk: boolean) => voidOptionalresultMap?: (json: null | Record<string, any>) => null | Data
Creates a static handler that wraps around an existing handler function.