Plugins are standalone WebSocket applications that expose compute functions to a Timeleap worker. All communication is binary and follows a strict schema contract using .
Plugins must be declared inside the broker config:
Plugins use to define schemas for input/output types.
Example:
Compile them with:
The worker sends this binary structure to the plugin:
Plugins must decode , then decode using the expected method schema.
Plugins respond with a binary payload matching the schema for that method:
There is no envelope. Just send the encoded response back to the worker.
This example shows how to call a plugin function from a Timeleap-compatible client using and .
Register a plugin via CLI:
Pl. de l'Industrie 2, 1180 Rolle, Switzerland