old_contents: import asyncio
  import functools as ft
  
  
  def sync(fn):
      @ft.wraps(fn)
      def wrapper(*args, **kwargs):
          loop = asyncio.get_running_loop()
          future = fn(*args, **kwargs)
          rv = loop.run_until_complete(future)
          return rv
      return wrapper
  
new_contents: import asyncio
  import functools as ft
  
  
  def sync(fn):
      @ft.wraps(fn)
      def wrapper(*args, **kwargs):
          future = fn(*args, **kwargs)
          rv = asyncio.run(future)
          return rv
      return wrapper
  
subject: fix util