Adds immediate failure check to assure the loading-end event is called in after loading-start was sent.
Changes the "this.loading" watcher to a setter to assure the loading events are sent out even if the loading state resolves back to initial state within one tick (in which case the watcher doesn't trigger at all)
Adds immediate failure check to assure the loading-end event is called in after loading-start was sent.
Changes the "this.loading" watcher to a setter to assure the loading events are sent out even if the loading state resolves back to initial state within one tick (in which case the watcher doesn't trigger at all)