public OpenStreamAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task |
||
cancellationToken | CancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
return | Task |
public Task<Stream> OpenStreamAsync(CancellationToken cancellationToken = default(CancellationToken))
{
return this.s3ClientCache.GetClient(this.RegionAsEndpoint).GetObjectStreamAsync(this.linker.s3.bucket, this.linker.s3.key, null, cancellationToken);
}
}