new Runnable(title, fn)
- Source:
Initialize a new Runnable with the given title and callback fn.
Parameters:
| Name | Type | Description |
|---|---|---|
title |
String | |
fn |
function |
Extends
Members
(static, readonly) constants :string
- Source:
Properties:
| Name | Type | Description |
|---|---|---|
STATE_FAILED |
string | Value of |
STATE_PASSED |
string | Value of |
STATE_PENDING |
string | Value of |
Runnable-related constants.
Type:
- string
Methods
reset()
- Source:
Resets the state initially or for a next run.