Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.d.ts 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /**
  2. * Object whose keys are signal names and values are signal objects.
  3. */
  4. export declare const signalsByName: { [signalName: string]: Signal }
  5. /**
  6. * Object whose keys are signal numbers and values are signal objects.
  7. */
  8. export declare const signalsByNumber: { [signalNumber: string]: Signal }
  9. export declare type SignalAction =
  10. | 'terminate'
  11. | 'core'
  12. | 'ignore'
  13. | 'pause'
  14. | 'unpause'
  15. export declare type SignalStandard =
  16. | 'ansi'
  17. | 'posix'
  18. | 'bsd'
  19. | 'systemv'
  20. | 'other'
  21. export declare type Signal = {
  22. /**
  23. * Standard name of the signal, for example 'SIGINT'.
  24. */
  25. name: string
  26. /**
  27. * Code number of the signal, for example 2. While most number are cross-platform, some are different between different OS.
  28. */
  29. number: number
  30. /**
  31. * Human-friendly description for the signal, for example 'User interruption with CTRL-C'.
  32. */
  33. description: string
  34. /**
  35. * Whether the current OS can handle this signal in Node.js using process.on(name, handler). The list of supported signals is OS-specific.
  36. */
  37. supported: boolean
  38. /**
  39. * What is the default action for this signal when it is not handled.
  40. */
  41. action: SignalAction
  42. /**
  43. * Whether the signal's default action cannot be prevented. This is true for SIGTERM, SIGKILL and SIGSTOP.
  44. */
  45. forced: boolean
  46. /**
  47. * Which standard defined that signal.
  48. */
  49. standard: SignalStandard
  50. }