Skip to content

EnsureReleaseAssetParams.shouldDownload?

EnsureReleaseAssetParams › shouldDownload?

Type: ((request: ReleaseAssetConsentRequest) => Promise<boolean>) | undefined

Asks the user whether to download the asset. Defaults to a confirmation modal.

Pass () => Promise.resolve(true) when the user has already agreed, for example through a setting.