DeleteFileEventSchema
data class DeleteFileEventSchema(val id: String, val trigger: EventTrigger, val events: SerializableImmutableList<EventSchema>?, val fileName: String) : EventSchema
Deletes the file stored under fileName in the client's own file storage.
incomingData consumed: not used.
Triggers fired:
OnSuccessEventTrigger— when the deletion completed. No data is passed downstream.OnFailureEventTrigger— when the deletion failed; theThrowableis passed as incomingData and the error is logged.
Constructors
Link copied to clipboard
constructor(id: String, trigger: EventTrigger, events: SerializableImmutableList<EventSchema>?, fileName: String)
Properties
Link copied to clipboard
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.
Link copied to clipboard
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.