@proto-kit/moduleDocs


Documentation / @proto-kit/module / toWrappedMethod

Function: toWrappedMethod()

toWrappedMethod(this, methodName, moduleMethod, options): AsyncWrappedMethod

Parameters

this: RuntimeModule<unknown>

methodName: string

moduleMethod

options

options.invocationType: RuntimeMethodInvocationType

Returns

AsyncWrappedMethod

Defined in

packages/module/src/method/runtimeMethod.ts:73