onDestroy abstract method

Future<void> onDestroy(
  1. DateTime timestamp,
  2. bool isTimeout
)

Called when the task is destroyed.

Implementation

Future<void> onDestroy(DateTime timestamp, bool isTimeout);