Delegate TemporaryDataFactory.CreateAsyncDelegate
The delegate to create temporary data objects.
Namespace: FubarDev.FtpServer.BackgroundTransfer
Assembly: FubarDev.FtpServer.Abstractions.dll
Syntax
protected delegate Task<ITemporaryData> CreateAsyncDelegate(Stream input, CancellationToken cancellationToken);
Parameters
Type | Name | Description |
---|---|---|
Stream | input | The data for the temporary data objects. |
CancellationToken | cancellationToken | The cancellation token. |
Returns
Type | Description |
---|---|
Task<ITemporaryData> | A Task representing the asynchronous operation. |