code: def create(cls, function, *args, **kwargs):
          
          # The general principle is to deserialize as late as possible, i.e. when the function is
          # to be invoked, as that will avoid redundantly deserializing deferred functions for
          # concurrently running jobs when the cache state is loaded from disk. By implication we
          # should serialize as early as possible. We need to serialize the function as well as its
          # arguments.
          return cls(*list(map(dill.dumps, (function, args, kwargs))),
                     name=function.__name__,
                     module=ModuleDescriptor.forModule(function.__module__).globalize())
docs: Capture the given callable and arguments as an instance of this class.
  
          :param callable function: The deferred action to take in the form of a function
          :param tuple args: Non-keyword arguments to the function
          :param dict kwargs: Keyword arguments to the function