Runnable

Runnable

new Runnable(title, fn)

Source:

Initialize a new Runnable with the given title and callback fn.

Parameters:
NameTypeDescription
titleString
fnfunction

Extends

Members

(static, readonly) constants :string

Source:
Properties:
NameTypeDescription
STATE_FAILEDstring

Value of state prop when a Runnable has failed

STATE_PASSEDstring

Value of state prop when a Runnable has passed

STATE_PENDINGstring

Value of state prop when a Runnable has been skipped by user

Runnable-related constants.

Type:
  • string

Methods

reset()

Source:

Resets the state initially or for a next run.