Add UserInputAction, coerce ActionFactoryAction to be async, add custom tables for MenuAction, Change Exit Command to use X

This commit is contained in:
2025-05-14 20:28:28 -04:00
parent bba473047c
commit b14004c989
14 changed files with 181 additions and 21 deletions

View File

@ -2,10 +2,10 @@
"""protocols.py"""
from __future__ import annotations
from typing import Any, Protocol
from typing import Any, Awaitable, Protocol
from falyx.action.action import BaseAction
class ActionFactoryProtocol(Protocol):
def __call__(self, *args: Any, **kwargs: Any) -> BaseAction: ...
async def __call__(self, *args: Any, **kwargs: Any) -> Awaitable[BaseAction]: ...