An event that triggers when a task is deleted.
The onTaskDeleted()
event handler runs when a task is deleted. The received TaskDeleted
object contains metadata.
Note: Backend events don't work when previewing your site.
Metadata for the event.