State

constructor(state: State<T>, enabled: (T) -> Boolean)

Parameters

state

the state that this dependency depends on

enabled

the deduction function that evaluates the deducted state of this dependency