-
-
Save maliciousgroup/48743dc31e0907409eee39a3df266e64 to your computer and use it in GitHub Desktop.
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
from src.core.base.abstract.AbstractConsole import AbstractConsole | |
from src.core.registry.OptionRegistry import OptionRegistry | |
class BaseConsole(AbstractConsole): | |
@staticmethod | |
def __register(_config: str, _registry: OptionRegistry) -> None: | |
""" | |
Class method that will register the Console options | |
:return: None | |
""" | |
async def interactive_shell(self) -> None: | |
""" | |
Base Coroutine that will handle user-supplied commands | |
:return: None | |
""" | |
async def print_processor(self) -> None: | |
""" | |
Base Coroutine that will handle the print queue | |
:return: None | |
""" | |
@staticmethod | |
async def shutdown(_loop) -> None: | |
""" | |
Base Coroutine that gracefully shuts down application | |
:param _loop: Main Event Loop | |
:return: None | |
""" | |
async def main(self) -> None: | |
""" | |
Base Coroutine that starts the event loops | |
:return: None | |
""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment