Failing components repeated with callbacks
Issue #3
resolved
If a component fails, it will be re-executed as many times there are callbacks
import anduril.tools._
import org.anduril.runtime._
object failRepeat {
val fails=QuickBash(script="this will fail")
val data1=Randomizer(columns=5, rows=20, distribution="normal", mean=0)
val data2=Randomizer(columns=5, rows=20, distribution="normal", mean=0)
var callback1=data1.out.textRead
//callback 2
for ( i <- iterCSV(data2.out) ) {
}
}
In this example, the instance "fails" will be executed 3 times
Comments (2)
-
-
- changed status to resolved
seemed to work
- Log in to comment
Should work, can this be closed?