Model DistributionEngine
distrib::DistributionEngine
Parameters
↳ const treatment: string
↳ const version: string
Distribute a Mélodium treatment to a remote engine.
DistributionEngine connects to a distant engine using the provided access configuration,
negotiates protocol compatibility, then loads and launches the treatment identified by the
model parameters. It maintains an asynchronous connection and keeps track of distributed
instances and tracks, allowing the local engine to send inputs and receive outputs.
treatment: fully-qualified identifier of the treatment to execute on the remote engine.version: version of the treatment (must be a valid SemVer string).