tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
ISeekableFileStreamProvider.cs
Go to the documentation of this file.
1using System.IO;
2using System.Threading;
3using System.Threading.Tasks;
4
6{
11 {
15 bool Disposed { get; }
16
22 ValueTask<MemoryStream> GetOwnedResult(CancellationToken cancellationToken);
23 }
24}
Interface for asynchronously consuming Streams of files.
IFileStreamProvider that provides MemoryStreams.
bool Disposed
If the ISeekableFileStreamProvider has had global::System.IAsyncDisposable.DisposeAsync called on it.
ValueTask< MemoryStream > GetOwnedResult(CancellationToken cancellationToken)
Gets the provided MemoryStream. May be called multiple times, though cancelling any may cause all cal...