Why does the onDatareceived event in grafana panel plugin enter twice every time I click refresh?

Hi ,

Why does the onDatareceived event in grafana panel plugin enter twice every time I click refresh?