atus/"><code>Status</code></a>: 0 means now idle, 1 means now loading, and 2 means now saving.</p><section class="s2"><h2>Example</h2><p>This example registers a listener that responds to changes in the state of the <a href="/api/persisters/interfaces/persister/persister/"><code>Persister</code></a>.</p><pre><code><span class="keyword">import</span> <span class="punctuation">{</span>createStore<span class="punctuation">}</span> <span class="keyword">from</span> <span class="string">'tinybase'</span><span cl