mirror of
https://github.com/frappe/books.git
synced 2026-08-24 10:04:45 -05:00
feat: add worker for cron job and trigger frontend action to sync data with ERPNext
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// eslint-disable-next-line
|
||||
const { parentPort } = require('worker_threads');
|
||||
|
||||
if (parentPort) {
|
||||
// eslint-disable-next-line
|
||||
parentPort.postMessage({ type: 'trigger-frontend-action' });
|
||||
}
|
||||
Reference in New Issue
Block a user