Skip to content

Commit d444230

Browse files
committed
Minor method rename
1 parent ee66465 commit d444230

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

projects/RabbitMQ.Client/client/impl/ChannelBase.cs

+7-7
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ protected ValueTask ModelSendAsync<T>(in T method, CancellationToken cancellatio
471471
}
472472

473473
[MethodImpl(MethodImplOptions.AggressiveInlining)]
474-
protected ValueTask ModelSendAsync<TMethod, THeader>(in TMethod method, in THeader header, ReadOnlyMemory<byte> body, CancellationToken cancellationToken)
474+
protected ValueTask ModelSendObserveFlowControlAsync<TMethod, THeader>(in TMethod method, in THeader header, ReadOnlyMemory<byte> body, CancellationToken cancellationToken)
475475
where TMethod : struct, IOutgoingAmqpMethod
476476
where THeader : IAmqpHeader
477477
{
@@ -964,18 +964,18 @@ await _confirmSemaphore.WaitAsync(cancellationToken)
964964
BasicProperties? props = PopulateActivityAndPropagateTraceId(basicProperties, sendActivity);
965965
if (props is null)
966966
{
967-
await ModelSendAsync(in cmd, in basicProperties, body, cancellationToken)
967+
await ModelSendObserveFlowControlAsync(in cmd, in basicProperties, body, cancellationToken)
968968
.ConfigureAwait(false);
969969
}
970970
else
971971
{
972-
await ModelSendAsync(in cmd, in props, body, cancellationToken)
972+
await ModelSendObserveFlowControlAsync(in cmd, in props, body, cancellationToken)
973973
.ConfigureAwait(false);
974974
}
975975
}
976976
else
977977
{
978-
await ModelSendAsync(in cmd, in basicProperties, body, cancellationToken)
978+
await ModelSendObserveFlowControlAsync(in cmd, in basicProperties, body, cancellationToken)
979979
.ConfigureAwait(false);
980980
}
981981
}
@@ -1043,18 +1043,18 @@ await _confirmSemaphore.WaitAsync(cancellationToken)
10431043
BasicProperties? props = PopulateActivityAndPropagateTraceId(basicProperties, sendActivity);
10441044
if (props is null)
10451045
{
1046-
await ModelSendAsync(in cmd, in basicProperties, body, cancellationToken)
1046+
await ModelSendObserveFlowControlAsync(in cmd, in basicProperties, body, cancellationToken)
10471047
.ConfigureAwait(false);
10481048
}
10491049
else
10501050
{
1051-
await ModelSendAsync(in cmd, in props, body, cancellationToken)
1051+
await ModelSendObserveFlowControlAsync(in cmd, in props, body, cancellationToken)
10521052
.ConfigureAwait(false);
10531053
}
10541054
}
10551055
else
10561056
{
1057-
await ModelSendAsync(in cmd, in basicProperties, body, cancellationToken)
1057+
await ModelSendObserveFlowControlAsync(in cmd, in basicProperties, body, cancellationToken)
10581058
.ConfigureAwait(false);
10591059
}
10601060
}

0 commit comments

Comments
 (0)