method Client.prototype.invokeimport { Client } from "https://deno.land/x/mtkruto@0.0.982/mod.ts"; invoke<T extends (functions.Function<unknown> | types.Type) = functions.Function<unknown>>(function_: T): Promise<T extends functions.Function<unknown> ? T["__R"] : void>Invokes a function waiting and returning its reply if the second parameter is not true. Requires the client to be connected. invoke<T extends (functions.Function<unknown> | types.Type) = functions.Function<unknown>>(function_: T, noWait: true): Promise<void>Invokes a function waiting and returning its reply if the second parameter is not true. Requires the client to be connected. Type ParametersoptionalT extends (functions.Function<unknown> | types.Type) = functions.Function<unknown>Parametersfunction_: TThe function to invoke. ReturnsPromise<T extends functions.Function<unknown> ? T["__R"] : void>Type ParametersoptionalT extends (functions.Function<unknown> | types.Type) = functions.Function<unknown>Parametersfunction_: TnoWait: trueReturnsPromise<void>