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

Runnable-related constants.

Type:
  • string