DownloadFileToMemoryEventSchema
Downloads url without touching the filesystem, keeping the content in memory. 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 the total byte count 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.