refactor: expand async and type safety gates

This commit is contained in:
jxxghp
2026-08-22 13:21:52 +08:00
parent 677f6a66c2
commit 7bc5e01afd
12 changed files with 103 additions and 33 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ class EventErrorPolicy:
self,
*,
notifier: Callable[[], Optional[EventErrorNotifier]],
emit_system_error: Callable[[dict], object],
emit_system_error: Callable[[dict[str, Any]], object],
) -> None:
"""注入通知读取器和 SystemError 发送回调。"""
self._notifier = notifier