Class

State

State#State(hanko, flowName, response, optionsopt)

Constructor

# new State(hanko, flowName, response, optionsopt)

Constructs a new State instance.
Parameters:
Name Type Attributes Default Description
hanko Hanko The Hanko instance for API interactions.
flowName FlowName The name of the flow this state belongs to.
response FlowResponse.<TState> The flow response containing state data.
options StateInitConfig <optional>
{} Configuration options for state initialization.

View Source lib/flow-api/State.ts, line 382