# ShuttingDownEventArgs

**Kind**: interface | **Module**: [Platform](https://docs.interop.io/desktop/reference/javascript/platform/index.md)

**Source**: https://docs.interop.io/desktop/reference/javascript/platform/shuttingdowneventargs/index.html

Describes the argument received by the callback function for handling the platform shutdown event.

## Properties

- **`initiator`** (`IOConnectDesktop.Interop.Instance`, optional)
  Information about the Interop instance that has initiated the platform shutdown or restart.
- **`reason`** (`string`, optional)
  Reason for the platform shutdown or restart.
- **`restarting`** (`boolean`, required)
  Flag indicating whether the platform is being restarted.

## Related types

- [Instance](https://docs.interop.io/desktop/reference/javascript/interop/instance/index.md)
