@@ -114,7 +114,7 @@ public MessageWriter MessageWriter(FlowInstance instanceId)
114114 /// <param name="initialState">Optional initial state with pre-filled messages and effects</param>
115115 /// <returns>A task which will complete when the flow has completed its execution</returns>
116116 public Task Run ( FlowInstance instanceId , InitialState ? initialState = null )
117- => _registration . Invoke ( instanceId , initialState ) ;
117+ => _registration . Run ( instanceId , initialState ) ;
118118
119119 /// <summary>
120120 /// Schedule the flow for immediate execution.
@@ -260,7 +260,7 @@ public MessageWriter MessageWriter(FlowInstance instanceId)
260260 /// <param name="initialState">Optional initial state with pre-filled messages and effects</param>
261261 /// <returns>A task which will complete when the flow has completed its execution</returns>
262262 public Task Run ( FlowInstance instanceId , TParam param , InitialState ? initialState = null )
263- => _registration . Invoke ( instanceId , param , initialState ) ;
263+ => _registration . Run ( instanceId , param , initialState ) ;
264264
265265 /// <summary>
266266 /// Schedule the flow for immediate execution.
@@ -414,7 +414,7 @@ public MessageWriter MessageWriter(FlowInstance instanceId)
414414 /// <param name="initialState">Optional initial state with pre-filled messages and effects</param>
415415 /// <returns>A task which will complete when the flow has completed its execution containing its result</returns>
416416 public Task < TResult > Run ( FlowInstance instanceId , TParam param , InitialState ? initialState = null )
417- => _registration . Invoke ( instanceId , param , initialState ) ;
417+ => _registration . Run ( instanceId , param , initialState ) ;
418418
419419 /// <summary>
420420 /// Schedule the flow for immediate execution.
0 commit comments