Optional
Clean-up function for the resource. This is called when the resource is no longer needed.
The value of the resource
The configuration it received
The dependencies it needed
These events are automatically populated after the task has been defined.
Clean-up function for the resource. This is called when the resource is no longer needed.