Skip to content

Commit

Permalink
[CS0618] InternalFlowOperations - Warning Disable (akkadotnet#6674)
Browse files Browse the repository at this point in the history
Co-authored-by: Ebere Abanonu <[email protected]>
  • Loading branch information
eaba and eaba authored Jan 18, 2024
1 parent 809c432 commit 284d33a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/Akka.Streams/Dsl/Internal/InternalFlowOperations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1284,7 +1284,9 @@ public static IFlow<T, TMat> Buffer<T, TMat>(this IFlow<T, TMat> flow, int size,
/// <param name="stageFactory">TBD</param>
/// <returns>TBD</returns>
public static IFlow<TOut, TMat> Transform<TIn, TOut, TMat>(this IFlow<TIn, TMat> flow,
#pragma warning disable CS0618 // Type or member is obsolete
Func<IStage<TIn, TOut>> stageFactory)
#pragma warning restore CS0618 // Type or member is obsolete
{
return flow.Via(new PushPullGraphStage<TIn, TOut>(_ => stageFactory(), Attributes.None));
}
Expand Down

0 comments on commit 284d33a

Please sign in to comment.