Class: PollCheckStep

hobs.Chaining. PollCheckStep

A repeating Step using a poll interval with checking features


new PollCheckStep( [checkFct] [, options])

Parameters:
Name Type Argument Default Description
checkFct function <optional>
Chaining.defaultActions

The function executed by the step

options object <optional>
{timeout: 2500, pollInterval: Chaining.DEFAULT_POLL_INTERVAL, timeoutState: Chaining.Step.STATE_FAILED}

Extra options passed to the step to control its execution

Extends

  • Chaining.Step