<?php

namespace ProudNerds\Video\Tasks;

interface QueueTask
{
    /**
     * Execute the task
     *
     * @param callable $callback    callback function to call after the task has been executed
     */
    public function execute(callable $callback);

    /**
     * Get the task ID
     * Should be a unique identifier
     *
     * @return string
     */
    public function getTaskId(): string;
}
