Thread

The class Thread has the following methods:

getData

this method returns the Thread's attached DATA

start

this method starts the Thread

stop

this method stops the Thread

next

this method will call the callback passed as param when the thread's state changes

addReaction

this method allows to add a reaction on the thread

chain

this method allows to chain a callback to the next data update

monitor<T>

this method allows to perform async operations within a thread in a controlled way

isRunning

true of the underlying flow is running

reducers

returns the underlying flow reducers

getEvents

returns the underlying flow events

getName

returns the underlying flow name

changeLoggingNature

gives access to changing the underlying flow logging nature

log

logs a message

once

adds a reaction once to the underlying flow

Last updated