This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import socket | |
from typing import Callable | |
from linuxfd import timerfd | |
from itertools import ( | |
starmap, | |
repeat, | |
) | |
def wait_for_tcp_service( | |
addr: str, |