apicase/core

start Event not firing

MLDMoritz opened this issue · 0 comments

Hey,

I want to show a loading indicator so I want to use the start event to set a loading boolean.
However the start event is not firing, the finish event is firing.

doRequest(payload)
    .on("start", () => {
        console.log('loading true');
    })
    .on("finish", () => {
        console.log('loading false');
    });

I am using ApiService and the fetch adapter.