mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-03 04:42:30 +03:00
11 lines
295 B
PHP
11 lines
295 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace Shlinkio\Shlink\EventDispatcher;
|
|
|
|
use Swoole\Http\Server as HttpServer;
|
|
|
|
function asyncListener(HttpServer $server, string $regularListenerName): Listener\AsyncEventListener
|
|
{
|
|
return new Listener\AsyncEventListener($server, $regularListenerName);
|
|
}
|