You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logger?.LogTrace($"{LogPrefix}Input set to [{pipelineTelemetry.StateValue?.ToString()??"NULL"}]. No nodes registered, passing to pipeline output immediately.");
12
+
return;
13
+
}
14
+
15
+
if(pipelineTelemetry.SourceNodeIndex==null)
16
+
{
17
+
logger?.LogTrace($"{LogPrefix}Input set to [{pipelineTelemetry.StateValue?.ToString()??"NULL"}]. Passing input to first [Node {pipelineTelemetry.DestinationNodeIndex}] ({pipelineTelemetry.DestinationNodeName}).");
18
+
return;
19
+
}
20
+
if(pipelineTelemetry.DestinationNodeIndex==null)
21
+
{
22
+
logger?.LogTrace(
23
+
$"{LogPrefix}[Node {pipelineTelemetry.SourceNodeIndex}] ({pipelineTelemetry.SourceNodeName}) passed value [{pipelineTelemetry.StateValue?.ToString()??"NULL"}] to pipeline output.");
24
+
return;
25
+
}
26
+
logger?.LogTrace($"{LogPrefix}Passing [Node {pipelineTelemetry.SourceNodeIndex}] ({pipelineTelemetry.SourceNodeName}) value [{pipelineTelemetry.StateValue?.ToString()??"NULL"}] to [Node {pipelineTelemetry.DestinationNodeIndex}] ({pipelineTelemetry.DestinationNodeName}).");
Copy file name to clipboardExpand all lines: src/CodeCasa.AutomationPipelines/IPipeline.cs
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -25,4 +25,14 @@ public interface IPipeline<TState> : IPipelineNode<TState>, IAsyncDisposable
25
25
/// This method can be called at any time during the creation of the pipeline and will be called immediately if the pipeline has already produced an output.
0 commit comments