public static function create(LoopInterface $loop, callable $check, $value = null, $iterations = 1)
    {
        return (new self($loop, $check, $value, $iterations))->run();
    }
public static function create(LoopInterface $loop, callable $check, $value = null, $iterations = 1)
    {
        return (new self($loop, $check, $value, $iterations))->run();
    }
public static function create ( LoopInterface $ loop , callable $ check , $ value = null , $ iterations = 1 ) { return ( new self ( $ loop , $ check , $ value , $ iterations ) ) -> run ( ) ; }
Factory used by tickingFuturePromise, see there for more details.

@param LoopInterface $loop       ReactPHP event loop.
@param callable      $check      Callable to run at the future tick.
@param mixed         $value      Value to pass into $check on tick.
@param int           $iterations Number of iterations to call $check in one tick.

@return mixed
Factory used by tickingFuturePromise see there for more details .