1
0
mirror of https://github.com/danog/parallel.git synced 2024-12-14 10:08:24 +01:00
parallel/src/Context.php

18 lines
301 B
PHP
Raw Normal View History

<?php
namespace Icicle\Concurrent;
/**
* Interface for all types of execution contexts.
*/
interface Context
{
/**
* Executes a task inside the context.
*
* @param Task $task [description]
*
* @return [type] [description]
*/
public function run(Task $task);
}