shlink/module/EventDispatcher/config/task_runner.config.php

22 lines
404 B
PHP
Raw Normal View History

<?php
declare(strict_types=1);
namespace Shlinkio\Shlink\EventDispatcher;
use Swoole\Http\Server as HttpServer;
return [
'dependencies' => [
'factories' => [
Async\TaskRunner::class => Async\TaskRunnerFactory::class,
],
'delegators' => [
HttpServer::class => [
Async\TaskRunnerDelegator::class,
],
],
],
];