Interface IMainLoopCoordinator
Interface for the main loop coordinator that manages UI loop initialization and threading.
public interface IMainLoopCoordinator
Remarks
The coordinator is responsible for:
- Starting the asynchronous input reading thread
- Initializing the main UI loop on the application thread
- Building the IConsoleDriver facade
- Coordinating clean shutdown of both threads
Methods
- RunIteration()
Executes a single iteration of the main UI loop.
- StartAsync()
Initializes all required subcomponents and starts the input thread.
- Stop()
Stops the input thread and performs cleanup.