mirror of
https://github.com/rekryt/iplist.git
synced 2025-10-12 16:39:35 +03:00
Initial commit
This commit is contained in:
11
src/Infrastructure/Task/TaskInterface.php
Normal file
11
src/Infrastructure/Task/TaskInterface.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace OpenCCK\Infrastructure\Task;
|
||||
|
||||
use Amp\Cancellation;
|
||||
use Amp\Parallel\Worker\Task;
|
||||
use Amp\Sync\Channel;
|
||||
|
||||
interface TaskInterface extends Task {
|
||||
public function run(Channel $channel, Cancellation $cancellation): mixed;
|
||||
}
|
Reference in New Issue
Block a user