skip to content
$worker

bridge

v0.1.3

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

iiiverified
14 installs0 in 7d0 today
install
$iii worker add bridge@next
  • macOS: arm64 · x64
  • Linux: arm64 · armv7 · x64
  • Windows: arm64 · x64 · x86

exact versions are immutable; binary and bundle artifacts are digest-pinned.

functions

3

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 when omitted; `bridge.invoke_async` ignores this field (fire-and-forget).

response
valuenull

bridge.invoke_async

function

Fire-and-forget invoke 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 when omitted; `bridge.invoke_async` ignores this field (fire-and-forget).

response
valuenull

bridge::on-config-change

function

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

request
empty object
response
  • okbooleanrequired

triggers

0
no triggers registered