@@ -3967,7 +3967,8 @@ namespace Akka.Streams.Implementation.Fusing
3967
3967
public readonly object Event;
3968
3968
public readonly System.Action<object> Handler;
3969
3969
public readonly Akka.Streams.Stage.GraphStageLogic Logic;
3970
- public AsyncInput(Akka.Streams.Implementation.Fusing.GraphInterpreterShell shell, Akka.Streams.Stage.GraphStageLogic logic, object @event, System.Action<object> handler) { }
3970
+ public readonly System.Threading.Tasks.TaskCompletionSource<Akka.Done> Promise;
3971
+ public AsyncInput(Akka.Streams.Implementation.Fusing.GraphInterpreterShell shell, Akka.Streams.Stage.GraphStageLogic logic, object @event, System.Threading.Tasks.TaskCompletionSource<Akka.Done> promise, System.Action<object> handler) { }
3971
3972
public Akka.Streams.Implementation.Fusing.GraphInterpreterShell Shell { get; }
3972
3973
}
3973
3974
public class BatchingActorInputBoundary : Akka.Streams.Implementation.Fusing.GraphInterpreter.UpstreamBoundaryStageLogic
@@ -4202,7 +4203,7 @@ namespace Akka.Streams.Implementation.Fusing
4202
4203
public readonly Akka.Streams.Stage.GraphStageLogic[] Logics;
4203
4204
public readonly Akka.Streams.IMaterializer Materializer;
4204
4205
public const Akka.Streams.Implementation.Fusing.GraphInterpreter.Connection NoEvent = null;
4205
- public readonly System.Action<Akka.Streams.Stage.GraphStageLogic, object, System.Action<object>> OnAsyncInput;
4206
+ public readonly System.Action<Akka.Streams.Stage.GraphStageLogic, object, System.Threading.Tasks.TaskCompletionSource<Akka.Done>, System. Action<object>> OnAsyncInput;
4206
4207
public const int OutClosed = 32;
4207
4208
public const int OutReady = 8;
4208
4209
public const int PullEndFlip = 10;
@@ -4213,7 +4214,7 @@ namespace Akka.Streams.Implementation.Fusing
4213
4214
public const int Pushing = 4;
4214
4215
public int RunningStagesCount;
4215
4216
public static readonly Akka.Streams.Attributes[] SingleNoAttribute;
4216
- public GraphInterpreter(Akka.Streams.Implementation.Fusing.GraphAssembly assembly, Akka.Streams.IMaterializer materializer, Akka.Event.ILoggingAdapter log, Akka.Streams.Stage.GraphStageLogic[] logics, Connection[] connections, System.Action<Akka.Streams.Stage.GraphStageLogic, object, System.Action<object>> onAsyncInput, bool fuzzingMode, Akka.Actor.IActorRef context) { }
4217
+ public GraphInterpreter(Akka.Streams.Implementation.Fusing.GraphAssembly assembly, Akka.Streams.IMaterializer materializer, Akka.Event.ILoggingAdapter log, Akka.Streams.Stage.GraphStageLogic[] logics, Connection[] connections, System.Action<Akka.Streams.Stage.GraphStageLogic, object, System.Threading.Tasks.TaskCompletionSource<Akka.Done>, System. Action<object>> onAsyncInput, bool fuzzingMode, Akka.Actor.IActorRef context) { }
4217
4218
public Akka.Actor.IActorRef Context { get; }
4218
4219
public static Akka.Streams.Implementation.Fusing.GraphInterpreter Current { get; }
4219
4220
public static Akka.Streams.Implementation.Fusing.GraphInterpreter CurrentInterpreterOrNull { get; }
@@ -4228,7 +4229,7 @@ namespace Akka.Streams.Implementation.Fusing
4228
4229
public int Execute(int eventLimit) { }
4229
4230
public void Finish() { }
4230
4231
public void Init(Akka.Streams.IMaterializer subMaterializer) { }
4231
- public void RunAsyncInput(Akka.Streams.Stage.GraphStageLogic logic, object evt, System.Action<object> handler) { }
4232
+ public void RunAsyncInput(Akka.Streams.Stage.GraphStageLogic logic, object evt, System.Threading.Tasks.TaskCompletionSource<Akka.Done> promise, System. Action<object> handler) { }
4232
4233
public void SetHandler(Akka.Streams.Implementation.Fusing.GraphInterpreter.Connection connection, Akka.Streams.Stage.IInHandler handler) { }
4233
4234
public void SetHandler(Akka.Streams.Implementation.Fusing.GraphInterpreter.Connection connection, Akka.Streams.Stage.IOutHandler handler) { }
4234
4235
public override string ToString() { }
@@ -4878,12 +4879,13 @@ namespace Akka.Streams.Stage
4878
4879
}
4879
4880
public abstract class GraphStageLogic : Akka.Streams.Stage.IStageLogging
4880
4881
{
4881
- public static System.Action DoNothing;
4882
+ public static readonly System.Action DoNothing;
4882
4883
public static readonly Akka.Streams.Stage.InHandler EagerTerminateInput;
4883
4884
public static readonly Akka.Streams.Stage.OutHandler EagerTerminateOutput;
4884
4885
public static readonly Akka.Streams.Stage.InHandler IgnoreTerminateInput;
4885
4886
public static readonly Akka.Streams.Stage.OutHandler IgnoreTerminateOutput;
4886
4887
public readonly int InCount;
4888
+ public static readonly System.Threading.Tasks.TaskCompletionSource<Akka.Done> NoPromise;
4887
4889
public readonly int OutCount;
4888
4890
public static readonly Akka.Streams.Stage.InHandler TotallyIgnorantInput;
4889
4891
protected GraphStageLogic(int inCount, int outCount) { }
@@ -4922,6 +4924,7 @@ namespace Akka.Streams.Stage
4922
4924
protected Akka.Streams.Stage.IOutHandler GetHandler<T>(Akka.Streams.Outlet<T> outlet) { }
4923
4925
[Akka.Annotations.ApiMayChangeAttribute()]
4924
4926
protected Akka.Streams.Stage.StageActor GetStageActor(Akka.Streams.Stage.StageActorRef.Receive receive) { }
4927
+ protected Akka.Streams.Stage.IAsyncCallback<T> GetTypedAsyncCallback<T>(System.Action<T> handler) { }
4925
4928
protected T Grab<T>(Akka.Streams.Inlet<T> inlet) { }
4926
4929
protected bool HasBeenPulled<T>(Akka.Streams.Inlet<T> inlet) { }
4927
4930
[Akka.Annotations.InternalApiAttribute()]
@@ -5010,6 +5013,11 @@ namespace Akka.Streams.Stage
5010
5013
protected abstract Akka.Streams.Stage.GraphStageLogic CreateLogic(Akka.Streams.Attributes inheritedAttributes);
5011
5014
public virtual Akka.Streams.Stage.ILogicAndMaterializedValue<Akka.NotUsed> CreateLogicAndMaterializedValue(Akka.Streams.Attributes inheritedAttributes) { }
5012
5015
}
5016
+ public interface IAsyncCallback<in T>
5017
+ {
5018
+ void Invoke(T input);
5019
+ System.Threading.Tasks.Task<Akka.Done> InvokeWithFeedback(T input);
5020
+ }
5013
5021
public interface IAsyncContext : Akka.Streams.Stage.IContext, Akka.Streams.Stage.IDetachedContext, Akka.Streams.Stage.ILifecycleContext
5014
5022
{
5015
5023
Akka.Streams.Stage.AsyncCallback GetAsyncCallback();
0 commit comments