diff options
| author | 2024-07-06 09:07:19 +0800 | |
|---|---|---|
| committer | 2024-07-06 09:07:19 +0800 | |
| commit | 0ed10486f719c23ab7e0e84d2e119a7fa5f70475 (patch) | |
| tree | 095b77f6220fdf929de0a1de29332b1912aa30e1 /hrc/typing.py | |
| parent | c0518c138914b321d0fa2d7b0d1377f78ff85b3c (diff) | |
| download | HydroRollCore-0ed10486f719c23ab7e0e84d2e119a7fa5f70475.tar.gz HydroRollCore-0ed10486f719c23ab7e0e84d2e119a7fa5f70475.zip | |
refactor!: rewrite core business logic
Diffstat (limited to 'hrc/typing.py')
| -rw-r--r-- | hrc/typing.py | 1 |
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]] |
