Function createFunctionWrapper
- createFunctionWrapper<T extends Func, G extends unknown>(
runner: T,
options: WrapperOptions<T, G>,
): T & { __wrap_global__: G } Type Parameters
- T extends Func
- G extends unknown
Parameters
- runner: T
- options: WrapperOptions<T, G>
Returns T & { __wrap_global__: G }
create function wrapper for sync/async function