def new_task(func):
@wraps(func)<EOL>async def wrapper(self, *args, **kwargs):<EOL><INDENT>loop = get_event_loop()<EOL>loop.create_task(func(self, *args, **kwargs))<EOL><DEDENT>return wrapper<EOL>
Runs the decorated function in a new task