Application lifecycle

Stapp applications have two major events in their lifecycle.

init

The initiation process starts when createApp is called. The completion of the process is indicated by the initEvent.

ready

readyEvent is emitted after the ready promise resolves. See SSR section for more info.

disconnect

The disconnection process starts when Stapp.disconnect is called. It starts with the disconnectEvent. After that the application disables all dispatch functions and unsubscribes from epics. Note, that currently the application can't be restarted after the disconnection process completes.

results matching ""

    No results matching ""