code: def async_handler(handler):
      
      @wraps(handler)
      def wrapper(event, context):
          context.loop = asyncio.get_event_loop()
          return context.loop.run_until_complete(handler(event, context))
  
      return wrapper
docs: This decorator allows for use of async handlers by automatically running
      them in an event loop. The loop is added to the context object for if the
      handler needs it.
  
      Usage::
  
          >>> from lambda_decorators import async_handler
          >>> async def foobar():
          ...     return 'foobar'
          >>> @async_handler
          ... async def handler(event, context):
          ...     return await foobar()
          >>> class Context:
          ...     pass
          >>> handler({}, Context())
          'foobar'
  
  
      *NOTE: Python 3 only*