timeout_scope
faststream.utils.functions.timeout_scope #
timeout_scope(
timeout: Optional[float] = 30,
raise_timeout: bool = False,
) -> ContextManager[anyio.CancelScope]
Source code in faststream/utils/functions.py
Last update: 2023-11-13