Javascript import event

Which Javascript event is fired when I import a CSV file, I want to run a specific javascript function based on entries inserted to the doctype forms when I import CSV file.

Thanx in advance,

Do you mean importing CSV file via data import tool or simply attaching any CSV file in a doctype.

importing CSV file via data import tool

CSV file is processed in the .py file. This is the last javascript function which calls python function.
https://github.com/frappe/frappe/blob/develop/frappe/core/page/data_import_tool/data_import_tool.js#L107

In between, we have refactored data import and it will be merged in develop soon. FYI, It will be a doctype instead of a page.