PHP Class Icicle\Concurrent\Worker\Internal\TaskRunner

Datei anzeigen Open project: icicleio/concurrent Class Usage Examples

Public Methods

Method Description
__construct ( Icicle\Concurrent\Sync\Channel $channel, Icicle\Concurrent\Worker\Environment $environment )
isIdle ( ) : boolean
run ( ) : Generator

Method Details

__construct() public method

public __construct ( Icicle\Concurrent\Sync\Channel $channel, Icicle\Concurrent\Worker\Environment $environment )
$channel Icicle\Concurrent\Sync\Channel
$environment Icicle\Concurrent\Worker\Environment

isIdle() public method

public isIdle ( ) : boolean
return boolean

run() public method

public run ( ) : Generator
return Generator