tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
IO
IFileStreamProvider.cs
Go to the documentation of this file.
1
using
System;
2
using
System.IO;
3
using
System.Threading;
4
using
System.Threading.Tasks;
5
6
namespace
Tgstation.Server.Host.IO
7
{
11
public
interface
IFileStreamProvider
:
IAsyncDisposable
12
{
19
ValueTask<Stream>
GetResult
(CancellationToken cancellationToken);
20
}
21
}
IAsyncDisposable
Tgstation.Server.Host.IO.IFileStreamProvider
Interface for asynchronously consuming Streams of files.
Definition
IFileStreamProvider.cs:12
Tgstation.Server.Host.IO.IFileStreamProvider.GetResult
ValueTask< Stream > GetResult(CancellationToken cancellationToken)
Gets the provided Stream. May be called multiple times, though cancelling any may cause all calls to ...
Tgstation.Server.Host.IO
Definition
BufferedFileStreamProvider.cs:9
Generated by
1.9.8