Treatment distribute

distrib::distribute


Configuration

⬡ distributor: distrib::DistributionEngine

Inputs

⇥ trigger: Block<void>

Outputs

↦ distribution_id: Block<u64>
↦ error: Block<string>
↦ failed: Block<void>


Treatment distribute for the DistributionEngine model.

When a unit token is received on trigger, this treatment requests a new distributed track from the remote engine. If successful it waits for the track to be fully instantiated and then sends its distribution_id on the corresponding output. Failures during instantiation are reported via the failed and error outputs.