Skip to content

Commit 39ac0a3

Browse files
committed
revert: 撤销接收方法
1 parent a2f2f69 commit 39ac0a3

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

src/BootstrapBlazor/Services/TcpSocket/DataPackageAdapter/DataPackageAdapter.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,6 @@ public virtual async ValueTask HandlerAsync(ReadOnlyMemory<byte> data, Cancellat
4444
}
4545
}
4646

47-
public ValueTask<ReadOnlyMemory<byte>> ReceiveAsync(CancellationToken token = default)
48-
{
49-
50-
}
51-
5247
/// <summary>
5348
/// <inheritdoc/>
5449
/// </summary>

src/BootstrapBlazor/Services/TcpSocket/DataPackageAdapter/IDataPackageAdapter.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,4 @@ public interface IDataPackageAdapter
5050
/// langword="false"/>, contains <see langword="null"/>.</param>
5151
/// <returns><see langword="true"/> if the conversion was successful; otherwise, <see langword="false"/>.</returns>
5252
bool TryConvertTo(ReadOnlyMemory<byte> data, [NotNullWhen(true)] out object? entity);
53-
54-
ValueTask<ReadOnlyMemory<byte>> ReceiveAsync(CancellationToken token = default);
5553
}

0 commit comments

Comments
 (0)