DownloadFileToDiskEventSchema
Downloads url into the client's own file storage under targetFileName, where GetFile and DeleteFile can reach it afterwards. method, headers and body shape the request.
incomingData consumed: not used.
Triggers fired:
OnStartEventTrigger— before the download begins.OnDownloadProgressEventTrigger— repeatedly while downloading, with the progress passed as incomingData.OnDownloadFinishEventTriggerthenOnSuccessEventTrigger— when the download completed, both carrying targetFileName as incomingData.OnDownloadFailureEventTriggerthenOnFailureEventTrigger— when the download failed, both carrying theThrowable; the error is logged.
Constructors
Properties
This event's own children — each declaring, via its own trigger, which of this event's outgoing triggers runs it. null when this event declares no children.
The condition that must occur for this event to run — matched by structural equality (data class/data object equality) against whatever trigger value fired, never by any kind of subscription or listener registry.