Skip to content

Commit

Permalink
Don't do isRunning()
Browse files Browse the repository at this point in the history
rethinking the approach
  • Loading branch information
Vectorial1024 committed Dec 11, 2024
1 parent 21c8e1d commit c0bd8d8
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/AsyncTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,4 @@ public static function fromBase64Serial(string $serial): ?static
return null;
}
}

/**
* Returns whether this task is currently running in the background.
* @return bool
*/
public function isRunning(): bool
{
return $this->runnerProcess?->running() ?? false;
}
}

0 comments on commit c0bd8d8

Please sign in to comment.