def _task_thunk(task): # pragma: no cover
  try:
    result = task.execute()
    return result
  except Exception as e:
    return e
Thunk for executing tasks, used by MultiProcessTaskExecutor.
dataset/ETHPy150Open google/anvil-build/anvil/task.py/_task_thunk