mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
18 lines
271 B
PHP
18 lines
271 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace Appwrite\GraphQL;
|
||
|
|
|
||
|
|
use Swoole\Coroutine\Channel;
|
||
|
|
|
||
|
|
final class ResolverLock
|
||
|
|
{
|
||
|
|
public Channel $channel;
|
||
|
|
public ?int $owner = null;
|
||
|
|
public int $depth = 0;
|
||
|
|
|
||
|
|
public function __construct()
|
||
|
|
{
|
||
|
|
$this->channel = new Channel(1);
|
||
|
|
}
|
||
|
|
}
|