Websockets example in ErpNext

Hi

I have searched the forum first, but got no valid answer. Frappe 6 introduced websockets but I have not found anywhere in ErpNext where websockets are used. Can anyone point out a screen or module of ErpNext where I can see an example of websockets being used?

@javieralmancevo the Data Import Tool use websockets

https://github.com/frappe/frappe/blob/develop/frappe/core/page/data_import_tool/data_import_tool.js#L117

2 Likes

Comments, “Who is currently watching”, Messages all use web-sockets

Thanks both for the examples.