Binaries should have something like a "constructor" function to create a machine from them. The constructor takes the paramteriztion vector and can fail (in which case the machine fails to be created) i.e. It returns Result<(), String> where the String describes the failure reason. The constructor should run in the normal activation environment and I suppose it can be retried again later if it fails.
Binaries should have something like a "constructor" function to create a machine from them. The constructor takes the paramteriztion vector and can fail (in which case the machine fails to be created) i.e. It returns
Result<(), String>
where theString
describes the failure reason. The constructor should run in the normal activation environment and I suppose it can be retried again later if it fails.