DS.RootState

DS.RootState Class

Defined in: addon/-private/system/model/states.js:10

Module: ember-data

State

Each record has a currentState property that explicitly tracks what state a record is in at any given time. For instance, if a record is newly created and has not yet been sent to the adapter to be saved, it would be in the root.loaded.created.uncommitted state. If a record has had local modifications made to it that are in the process of being saved, the record would be in the root.loaded.updated.inFlight state. (This state paths will be explained in more detail below.)