code: def _apply_chunks(function, chunk):
      return [function(*args) for args in chunk]
  
imports: import sys
  import time
  import functools
  import itertools
  import threading
  from ._base import Future
  from ._base import Executor
  from ._base import as_completed
  from .None import _core
label_desc: Use image node_id 2 for calling a global function with example usage: _apply_chunks(function, chunk) and returns: unknown