<?php

declare (strict_types=1);
namespace idoit\Module\SyneticsJdisc\Graphql\Schema\Resolver\Query;

use Axtiva\FlexibleGraphql\Generator\Exception\NotImplementedResolver;
use GraphQL\Type\Definition\ResolveInfo;
use Axtiva\FlexibleGraphql\Resolver\ResolverInterface;
use idoit\Module\SyneticsJdisc\Graphql\Schema\Model\OperationProgressType;

/**
 * This code is @generated by axtiva/flexible-graphql-php
 * This is resolver for Query.operationProgress
 * Use the operation progress API to query the status of async operations!
Whenever you call a async operation (methods are marked with the async suffix), JDisc Discovery creates a ProgressInfo
object which hold information about the operation (percentage done, current operation). Finally, when the task is done, then
the specific ProgressInfo object may hold additional information about the task (e.g. results, ...) */
final class OperationProgressResolver implements ResolverInterface
{
    /**
     * @param $rootValue
     * @param $args
     * @param $context
     * @param ResolveInfo $info
     * @return OperationProgressType
     */
    public function __invoke($rootValue, $args, $context, ResolveInfo $info)
    {
        throw new NotImplementedResolver('Not implemented field resolver ' . __CLASS__);
    }
}