process-analytics / bpmn-visualization-pm4py

Example of integration between bpmn-visualization and pm4py
GNU General Public License v3.0
10 stars 5 forks source link

[backend-mock-server] Delay response sent to the frontend #21

Open tbouffard opened 1 year ago

tbouffard commented 1 year ago

In the first implementation (#19), the response is received almost immediately. This doesn't correctly simulate the backend which can take several seconds to process. It also prevent to display the spinner while waiting for the response.

We should introduce a way to configure or hard code a delay before the response is sent to the client.