Méthode | Description | |
---|---|---|
__construct ( integer $timeout = 3 ) | Sets the timeout. | |
end ( ) | Notifies that this was the last iteration. | |
execute ( callable $code ) : mixed | Repeats executing a code until it was succesful. |
public __construct ( integer $timeout = 3 ) | ||
$timeout | integer | The timeout in seconds. |