def __init__(self,<EOL>task_list: List[Task]=None,<EOL>config: Config=Config,<EOL>stats: Stats=Stats,<EOL>executor: Executor=None,<EOL>debug: bool=False) -> None:
if uvloop:<EOL><INDENT>Log.debug('<STR_LIT>')<EOL>asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())<EOL><DEDENT>self.loop = asyncio.new_event_loop()<EOL>self.loop.add_signal_handler(signal.SIGINT, self.sigint)<EOL>self.loop.add_signal_handler(signal.SIGTERM, self.sigterm)<EOL>self.loop.set_exception_handler(self.exception)<EOL>asyncio.set_event_loop(self.loop)<EOL>if debug:<EOL><INDENT>Log.debug('<STR_LIT>')<EOL>self.loop.set_debug(True)<EOL><DEDENT>self.all_tasks = {}<EOL>self.running_tasks = set()<EOL>self.initial_tasks = list(task_list)<EOL>self.configuration = config<EOL>self.stats = stats<EOL>self.executor = executor<EOL>self.monitor = False<EOL>self.terminate_on_finish = False<EOL>self.stop_attempts = <NUM_LIT:0><EOL>
Initialize Tasky and automatically start a list of tasks.
        One of the following methods must be called on the resulting objects
        to start the event loop: `run_forever()`, `run_until_complete()`, or
        `run_for_time()`.