code: def execute(self, fn, *args, **kwargs):
          
          if self.in_executor_context():
              corofn = asyncio.coroutine(lambda: fn(*args, **kwargs))
              return corofn()
          future = self.submit(fn, *args, **kwargs)
          return future.result()
docs: Execute an operation and return the result.