summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/IMonitor.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/StardewModdingAPI/IMonitor.cs')
-rw-r--r--src/StardewModdingAPI/IMonitor.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/StardewModdingAPI/IMonitor.cs b/src/StardewModdingAPI/IMonitor.cs
index 571c7403..62c479bc 100644
--- a/src/StardewModdingAPI/IMonitor.cs
+++ b/src/StardewModdingAPI/IMonitor.cs
@@ -4,6 +4,13 @@
public interface IMonitor
{
/*********
+ ** Accessors
+ *********/
+ /// <summary>Whether SMAPI is aborting. Mods don't need to worry about this unless they have background tasks.</summary>
+ bool IsExiting { get; }
+
+
+ /*********
** Methods
*********/
/// <summary>Log a message for the player or developer.</summary>