Methods

(static) configure(args) → {void}

Configures the probe task before it is launched: how it blocks, for how long, and the input value its function reads.

Parameters:
NameTypeDescription
argsobject
Returns:
Type: 
void

(static) init() → {void}

Returns:
Type: 
void

(static) launch() → {void}

Returns:
Type: 
void

(static) release() → {void}

Lets every invocation of the function return.

Returns:
Type: 
void

(static) stopAndLaunchFresh() → {object}

Stops the running task and launches a NEW node in its place, in one callback. m.top.task then holds the new node; the stopped one is returned so the spec can still read it.

Returns:
Type: 
object

(static) stopAndRelaunch() → {void}

The app's sequence: STOP, then launchTask, with nothing in between.

Returns:
Type: 
void

(static) stopTask() → {void}

Returns:
Type: 
void

(static) stopWriteRelaunch(newSeq) → {void}

The app's full sequence, which is not just STOP-then-launch: every site writes its INPUT field between the two (m.searchTask.query = query, m.loadDetailsTask.itemId = itemId). That write is why an ignored relaunch can still look right — the old run, if it survives, reads the new value.

Parameters:
NameTypeDescription
newSeqinteger
Returns:
Type: 
void