diff --git a/royalnet/royaltyping.py b/royalnet/royaltyping.py index b64302a7..f228989b 100644 --- a/royalnet/royaltyping.py +++ b/royalnet/royaltyping.py @@ -36,6 +36,10 @@ of :class:`str` to :data:`.JSON` mappings. """ AsyncFilter = Callable[[Any], Awaitable[Any]] +""" +A function taking an item as input, and returning it in a different form after being awaited. +""" + class ConversationProtocol(Protocol): def __call__(self, **kwargs) -> Awaitable[None]: