te3persister/methods/listener/addstatuslistener/"><code>addStatusListener</code></a></li></ul></nav><section class="s1" id="/api/persister-sqlite3/interfaces/persister/sqlite3persister/methods/listener/addstatuslistener/" data-id="aSL22"><h1><code>addStatusListener</code></h1><p>The <code>addStatusListener</code> method registers a listener function with the <a href="/api/persisters/interfaces/persister/persister/"><code>Persister</code></a> that will be called whenever it starts or stops loading or saving.