import { InjectionToken } from '@angular/core';

const generateTabId = () => {
  return Date.now();
};

export const CORE_TAB_ID_GENERATOR = new InjectionToken<() => number>(
  'CORE_TAB_ID_GENERATOR',
  { providedIn: 'root', factory: () => generateTabId },
);
