public Logic(RestartWithBackoffSink <T, TMat> stage, Attributes inheritedAttributes, string name) : base(name, stage.Shape, stage.In, null, stage.Settings, onlyOnFailures: false) { _stage = stage; _inheritedAttributes = inheritedAttributes; Backoff(); }
public Logic(RestartWithBackoffSink <T, TMat> stage, string name) : base(name, stage.Shape, stage.In, null, stage.MinBackoff, stage.MaxBackoff, stage.RandomFactor, false, stage.MaxRestarts) { _stage = stage; Backoff(); }