(loop=None)
return _current_tasks.get(loop)
Return a currently executed task.
Return a currently executed task.
Return a currently executed task .
def current_task(loop=None):
    """Return a currently executed task."""
    if loop is None:
        loop = events.get_running_loop()
    return _current_tasks.get(loop)
def current_task ( loop = None ) : if loop is None : loop = events . get_running_loop ( ) return _current_tasks . get ( loop )