Page Contents

Home > @loopback/core > Application > setState

Application.setState() method

Transition the application to a new state and emit an event

Signature:

protected setState(state: string): void;

Parameters

Parameter Type Description
state string The new state

Returns:

void