mirror of https://github.com/coddrago/Heroku
11 lines
416 B
Python
11 lines
416 B
Python
import typing
|
|
|
|
class BaseTunnel:
|
|
async def start(self):
|
|
raise NotImplementedError("Subclasses must implement the 'start' method.")
|
|
|
|
async def stop(self):
|
|
raise NotImplementedError("Subclasses must implement the 'stop' method.")
|
|
|
|
async def wait_for_url(self, timeout: float) -> typing.Optional[str]:
|
|
raise NotImplementedError("Subclasses must implement the 'wait_for_url' method.") |