export const JOB_MONITOR_REFRESH = 'haixun:job-monitor-refresh'

export function requestJobMonitorRefresh() {
  if (typeof window === 'undefined') return
  window.dispatchEvent(new Event(JOB_MONITOR_REFRESH))
}