import errno import fcntl import os import time
import logging from typing import Awaitable, Callable, List, Tuple log = logging.getLogger("saga") Compensation = Callable[[], Awaitable[None]]