callMethod<Defined in: packages/modelence/src/client/method.ts:103 Calls a server-side method (query or mutation) defined on a Modelence module. BothT>(methodName,args?,options?):Promise<T>
args and options are optional. Use the type parameter T to type the return value.
Example
Type Parameters
Parameters
Returns
Promise<T>
A promise that resolves to the method’s return value.