debuggable-service.d.ts 697 B

123456789101112131415161718192021222324252627282930
  1. import {Callable} from '../types.js';
  2. import {Service} from '@e22m4u/js-service';
  3. import {Debugger} from '../create-debugger.js';
  4. import {ServiceContainer} from '@e22m4u/js-service';
  5. /**
  6. * Debuggable Service.
  7. */
  8. export class DebuggableService extends Service {
  9. /**
  10. * Debug.
  11. */
  12. debug: Debugger;
  13. /**
  14. * Возвращает функцию-отладчик с сегментом пространства имен
  15. * указанного в параметре метода.
  16. *
  17. * @param method
  18. * @protected
  19. */
  20. protected getDebuggerFor(method: Callable): Debugger;
  21. /**
  22. * Constructor.
  23. *
  24. * @param container
  25. */
  26. constructor(container?: ServiceContainer);
  27. }