code: def spawn(self, *targets: Callable, count: int = 1, **process_kwargs):
          r
  
          if not targets:
  
              def wrapper(target: Callable):
                  return self.spawn(target, count=count, **process_kwargs)
  
              return wrapper
  
          if len(targets) * count == 1:
              return self._process(targets[0], **process_kwargs)
  
          return ProcessList(
              self._process(target, **process_kwargs)
              for _ in range(count)
              for target in targets
          )
docs: r"""
          Produce one or many child process(s) bound to this context.
  
          :param \*targets:
              Passed on to the :py:class:`Process` constructor, one at a time.
  
          :param count:
              The number of processes to spawn for each item in ``targets``.
  
          :param \*\*process_kwargs:
              .. include:: /api/context/params/process_kwargs.rst
  
          :return:
              A ``ProcessList`` of the :py:class:`Process` instance(s) produced.