Pauses the current task.
Calling this method will trigger a snapshot event with a TaskState.paused state.
TaskState.paused
@override Future<bool> pause() { return Future.value(true); }