Removed ValueTask overload for parallel request Converge method
- Doesn't work with the current persisted flow state so it would require a refactoring and in-place conversion
This commit is contained in:
parent
adde0c3c8d
commit
38326bd328
@ -362,12 +362,6 @@ namespace Tapeti.Flow.Default
|
|||||||
return BuildYieldPoint(continuation, false, noRequestsBehaviour);
|
return BuildYieldPoint(continuation, false, noRequestsBehaviour);
|
||||||
}
|
}
|
||||||
|
|
||||||
public IYieldPoint Yield(Func<ValueTask<IYieldPoint>> continuation, FlowNoRequestsBehaviour noRequestsBehaviour = FlowNoRequestsBehaviour.Exception)
|
|
||||||
{
|
|
||||||
throw new NotImplementedException();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public IYieldPoint YieldSync(Func<IYieldPoint> continuation, FlowNoRequestsBehaviour noRequestsBehaviour = FlowNoRequestsBehaviour.Exception)
|
public IYieldPoint YieldSync(Func<IYieldPoint> continuation, FlowNoRequestsBehaviour noRequestsBehaviour = FlowNoRequestsBehaviour.Exception)
|
||||||
{
|
{
|
||||||
return BuildYieldPoint(continuation, true, noRequestsBehaviour);
|
return BuildYieldPoint(continuation, true, noRequestsBehaviour);
|
||||||
|
@ -230,19 +230,6 @@ namespace Tapeti.Flow
|
|||||||
/// <param name="noRequestsBehaviour">How the Yield method should behave when no requests have been added to the parallel request builder.</param>
|
/// <param name="noRequestsBehaviour">How the Yield method should behave when no requests have been added to the parallel request builder.</param>
|
||||||
IYieldPoint Yield(Func<Task<IYieldPoint>> continuation, FlowNoRequestsBehaviour noRequestsBehaviour = FlowNoRequestsBehaviour.Exception);
|
IYieldPoint Yield(Func<Task<IYieldPoint>> continuation, FlowNoRequestsBehaviour noRequestsBehaviour = FlowNoRequestsBehaviour.Exception);
|
||||||
|
|
||||||
/// There is no Sync overload with an IFlowParallelRequest parameter, as the AddRequest methods for that are
|
|
||||||
/// async, so you should always await them.
|
|
||||||
/// <summary>
|
|
||||||
/// Constructs an IYieldPoint to continue the flow when responses arrive.
|
|
||||||
/// The continuation method is called when all responses have arrived.
|
|
||||||
/// Response handlers and the continuation method are guaranteed thread-safe access to the
|
|
||||||
/// controller and can store state.
|
|
||||||
/// Used for asynchronous continuation methods.
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="continuation">The converge continuation method to be called when all responses have been handled.</param>
|
|
||||||
/// <param name="noRequestsBehaviour">How the Yield method should behave when no requests have been added to the parallel request builder.</param>
|
|
||||||
IYieldPoint Yield(Func<ValueTask<IYieldPoint>> continuation, FlowNoRequestsBehaviour noRequestsBehaviour = FlowNoRequestsBehaviour.Exception);
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Constructs an IYieldPoint to continue the flow when responses arrive.
|
/// Constructs an IYieldPoint to continue the flow when responses arrive.
|
||||||
/// The continuation method is called when all responses have arrived.
|
/// The continuation method is called when all responses have arrived.
|
||||||
|
Loading…
Reference in New Issue
Block a user