<?php

namespace AC_SYNC\Includes\Classes\Async;

if (!defined('ABSPATH')) exit;

interface Action_Wear_Job_Handler_Interface
{
    /**
     * Handle a job.
     *
     * @param object $job    The job row from actionwear_jobs table
     * @param array  $payload Decoded JSON payload
     * @return Action_Wear_Job_Result
     */
    public function handle(object $job, array $payload): Action_Wear_Job_Result;
}
