aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/hrc/typing.py
diff options
context:
space:
mode:
Diffstat (limited to 'hrc/typing.py')
-rw-r--r--hrc/typing.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/hrc/typing.py b/hrc/typing.py
index a873194..d74fd26 100644
--- a/hrc/typing.py
+++ b/hrc/typing.py
@@ -16,4 +16,5 @@ RuleT = TypeVar("RuleT", bound="Rule[Any, Any, Any]")
ConfigT = TypeVar("ConfigT", bound=Optional["ConfigModel"])
CoreHook = Callable[["Core"], Awaitable[None]]
+RuleHook = Callable[["Rule"], Awaitable[None]]
EventHook = Callable[["Event[Any]"], Awaitable[None]]