Back to Wails

Function Call

v3/internal/runtime/desktop/@wailsio/runtime/docs/functions/Call.Call.html

2.13.0937 B
Original Source

Function Call

Call(options: CallOptions): CancellablePromise<any>

Call a bound method according to the given call options.

In case of failure, the returned promise will reject with an exception among ReferenceError (unknown method), TypeError (wrong argument count or type), RuntimeError (method returned an error), or other (network or internal errors). The exception might have a "cause" field with the value returned by the application- or service-level error marshaling functions.

Parameters

A method call descriptor.

Returns CancellablePromise<any>

The result of the call.

Settings

Member Visibility

  • Protected
  • Inherited
  • External

ThemeOSLightDark