aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/hrc/rule/__init__.py
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2024-07-15 18:38:53 +0800
committer简律纯 <i@jyunko.cn>2024-07-15 18:38:53 +0800
commitfae8d2273dfad2dd0cf9709f15e24640e7ebfd8d (patch)
treec7e170446bcadfef013bf3290a6c4188053949cc /hrc/rule/__init__.py
parent03812119ea6e99f549793a5e7ffac4b5765fa6a3 (diff)
downloadHydroRollCore-fae8d2273dfad2dd0cf9709f15e24640e7ebfd8d.tar.gz
HydroRollCore-fae8d2273dfad2dd0cf9709f15e24640e7ebfd8d.zip
feat(Improve the underlying business directory): Improve the underlying business directory
Add { doc | feat | perf | dev } mods
Diffstat (limited to 'hrc/rule/__init__.py')
-rw-r--r--hrc/rule/__init__.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/hrc/rule/__init__.py b/hrc/rule/__init__.py
index ecced24..4b3d259 100644
--- a/hrc/rule/__init__.py
+++ b/hrc/rule/__init__.py
@@ -154,6 +154,12 @@ class Rule(ABC, Generic[EventT, StateT, ConfigT]):
It is not recommended to implement event processing directly in this method. Please leave the specific processing of events to the ``handle()`` method.
"""
raise NotImplementedError
+
+ @staticmethod
+ async def enable(): ...
+
+ @staticmethod
+ async def disable(): ...
@staticmethod
def aliases(names, ignore_case=False):