ActionChain<A extends TinkApplicationState<TinkWidgetInputBinding<ScreenModel, TinkWidgetHandler>, TinkWidgetOutputBinding<EventModel, TinkWidgetHandler>, TinkWorkflowBinding<EventModel, WorkflowModel, TinkWidgetHandler>, TinkVariable>, S extends ScreenModel> mixin
Methods
-
emitState(TinkActionLike<TinkApplicationState<TinkWidgetInputBinding<ScreenModel, TinkWidgetHandler>, TinkWidgetOutputBinding<EventModel, TinkWidgetHandler>, TinkWorkflowBinding<EventModel, WorkflowModel, TinkWidgetHandler>, TinkVariable>, WorkflowModel, ScreenModel> action, TinkVariableData state)
→ void
-
This allows an action to emit all its output states. It cannot emit any state it hasn't declared, doing so will potentially lead to unexpected behaviour so this will ignore any unknown states emitted
Try to keep names simple and semantic - they're visible to the user and should imply their content/use e.g. user_id is better than uid
Emitting a state with the same name as a previous state that has the same type will overwrite the previously emitted value
action
is the action that wants to emit the state. It determines which states are can be emitted. An action can only emit variables in its input and output list
-
getState<S>(TinkActionLike<TinkApplicationState<TinkWidgetInputBinding<ScreenModel, TinkWidgetHandler>, TinkWidgetOutputBinding<EventModel, TinkWidgetHandler>, TinkWorkflowBinding<EventModel, WorkflowModel, TinkWidgetHandler>, TinkVariable>, WorkflowModel, ScreenModel> action, String name)
→ TinkVariableData<S>?
-
Gets the current value of the given state
action
is the action that wants to get the state. It determines which states are returned. An action can only get variables in its input and output list
-
next()
→ void
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited