Skip to content
Registry

bridge

v0.1.17

Bridge two iii engines — expose local functions on a remote engine and invoke/forward remote functions locally.

license: Apache-2.0bridgeenginefederationremotewebsocket

Install

bash
iii trigger compose::add worker=bridge@next

Run in your project with the iii engine running. Exact versions are immutable and digest-pinned.

Functions3

bridge.invoke

Function

Invoke a function on the remote III instance

Request
  • dataunknown

    Payload passed to the remote function, forwarded verbatim.

  • function_idstringrequired

    Id of the function to invoke on the remote iii instance.

  • timeout_msinteger· uint64min 0

    Milliseconds to wait for the result; `bridge.invoke` defaults to 30s, `bridge.invoke_async` ignores it.

Response
valuenull

bridge.invoke_async

Function

Invoke a remote III function without waiting for the result (fire-and-forget)

Request
  • dataunknown

    Payload passed to the remote function, forwarded verbatim.

  • function_idstringrequired

    Id of the function to invoke on the remote iii instance.

  • timeout_msinteger· uint64min 0

    Milliseconds to wait for the result; `bridge.invoke` defaults to 30s, `bridge.invoke_async` ignores it.

Response
valuenull

bridge::on-config-change

Function

Internal: reload bridge configuration from the authoritative store on change.

Request
Empty object
Response
  • okbooleanrequired

Triggers0

No triggers registered

Search the registry

Find workers, kits and executables, or jump to a page.