code: def callback(func):
      
      @functools.wraps(func)
      def wrapped(*args, **kwargs):
          result = func(*args, **kwargs)
          if inspect.iscoroutine(result):
              aio_loop.create_task(result)
  
      return wrapped
docs: This decorator turns `func` into a callback for Tkinter
      to be able to use, even if `func` is an awaitable coroutine.