Plugin System

Plugins are WebSocket-based services that expose programmable logic to brokers. They act as extensions of a worker and are invoked when a client makes a request through the broker.

  • Defined using schemas for fast binary serialization
  • The worker connects to the plugin over WebSocket at startup
  • The plugin is exposed to the broker through the worker’s plugin bridge

Plugins do not communicate directly with clients. Instead, the broker relays plugin requests, dispatches them to the appropriate worker, and returns the result to the client.

Plugin interfaces are defined with and compiled into both plugin and client code for type-safe communication.

Plugins can expose multiple methods and can be long-running services that keep internal state.

How was this page?

Timeleap SA.

Pl. de l'Industrie 2, 1180 Rolle, Switzerland

Logo

Social Media

Tokenomics

Info