I've been toying with this package but can't quite seem to get it to work, i'm trying to run an async task in a controller, i think this should be able to do it. I created a class that extends thread in the pkgpath
class Sleep extends \Fuelthreads\Cli\Thread\Thread{
protected function process()
{
sleep(10);
\Log::debug('done');
}
}
and then in some random controller I tried
$thread = new Sleep();
$thread->run();
but it still runs synchronously in the controller. What am I doing wrong?