<?php

namespace Limb_Chatbot\Includes\Interfaces;

use Limb_Chatbot\Includes\Data_Objects\Job;
use Limb_Chatbot\Includes\Data_Objects\Task;
use Limb_Chatbot\Includes\Repositories\Job_Repository;
use Limb_Chatbot\Includes\Repositories\Job_Task_Repository;

interface Task_Processor_Interface {
	public function process( Task $task, Job_Handler_Interface $handler, Job $job ): bool;

	public function update_stats( Job $job, Job_Repository $job_repository, Job_Task_Repository $task_repository): void;
}