From c0bd8d89c1282e59b7fc9d2ec0ef3fde1b0eac54 Mon Sep 17 00:00:00 2001 From: Vincent Wong Date: Wed, 11 Dec 2024 15:06:40 +0800 Subject: [PATCH] Don't do isRunning() rethinking the approach --- src/AsyncTask.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/AsyncTask.php b/src/AsyncTask.php index 005656d..fd0bf52 100644 --- a/src/AsyncTask.php +++ b/src/AsyncTask.php @@ -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; - } }