Skip to content

DownloadFile

Namespace: E2E.Decision.Sdk

public delegate Task<DownloadedFile> DownloadFile(DownloadRequest request, CancellationToken cancellationToken)

The type of the AI SDK’s download (typeof originalDownload), which Create takes. Receives the requested URL and the signal of the enclosing call.

Parameters

Name Type Description
request DownloadRequest
cancellationToken CancellationToken

Returns: Task<DownloadedFile>

View source