Skip to main content

Desktop Bridge

Your desktop bridge: the Strongly Computer client worker that runs client nodes.

Access it as client.bridge on a Strongly client, or the same path on AsyncStrongly with await. All methods exist on both with identical signatures.

Methods​

All methods​

invoke​

invoke(node: str, *, inputs: Mapping[str, Any] | None = None) -> BridgeInvokeResult

Run a client node on your machine through your bridge and wait for its result.

There is no time limit: the call ends when the client worker answers or its connection is lost.

Parameters

  • node (str): The client node type to run.
  • inputs (Mapping[str, Any] | None, optional): The node's inputs.

Raises

  • ConflictError: No client worker of yours is connected.
  • UnprocessableEntityError: Your client worker does not run that node.

status​

status() -> BridgeStatus

Whether a client worker of yours is connected, and the client nodes it runs.