Listener methods
This is the collection of listener methods within the ElectricSqlPersister
interface. There are only two listener methods, addStatusListener
and delListener
.
addStatusListener
The addStatusListener
method registers a listener function with the Persister
that will be called whenever it starts or stops loading or saving.
delListener
The delListener
method removes a listener that was previously added to the Persister
.