Skip to content

.invoke

Liatir.invoke() calls a low-level bridge command directly.

Use it only when:

  • the API has no typed wrapper for what you need;
  • you know the command name and payload contract;
  • you can handle app-version changes.

Prefer typed namespaces for public plugin code.

Signature

Example

Notes

Typed namespaces are more stable and easier to understand and should be preferred. Treat invoke() as an escape hatch for advanced integrations.