Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/./../app/.././../../finland.picotech.app/public_html/storage/../vendor/monolog/../laravel/octane/src/Contracts
الملفات الموجودة في هذا الـ Path:
.
..
Client.php
DispatchesCoroutines.php
DispatchesTasks.php
OperationTerminated.php
ServerProcessInspector.php
ServesStaticFiles.php
StoppableClient.php
Worker.php

مشاهدة ملف: DispatchesTasks.php

<?php

namespace Laravel\Octane\Contracts;

interface DispatchesTasks
{
    /**
     * Concurrently resolve the given callbacks via background tasks, returning the results.
     *
     * Results will be keyed by their given keys - if a task did not finish, the tasks value will be "false".
     *
     *
     * @throws \Laravel\Octane\Exceptions\TaskException
     * @throws \Laravel\Octane\Exceptions\TaskTimeoutException
     */
    public function resolve(array $tasks, int $waitMilliseconds = 3000): array;

    /**
     * Concurrently dispatch the given callbacks via background tasks.
     */
    public function dispatch(array $tasks): void;
}