public FlushAsync ( |
||
token | ||
return | Task |
public async Task SendItemAsync(BigEndianStream stream, int version) { if (stream == null) throw new ArgumentNullException("stream"); if (Data != null && !Changed && stream.BufferEnabled) { await stream.WriteAsync(Data.ToArray(), 0, Data.Count()); } else await OnSendAsync(stream, version); await stream.FlushAsync(); }