class_docstr: ``interact`` can be used with regular functions. However, when they are connected to
  changed or changing signals, there is no way to access these connections later to
  i.e. disconnect them temporarily. This utility class wraps a normal function but
  can provide an external scope for accessing the hooked up parameter signals.
docstr: Binds a new set of parameters to this function. If ``clearOld`` is *True* (
  default), previously bound parameters are disconnected.
  
  Parameters
  ----------
  params: Sequence[Parameter]
      New parameters to listen for updates and optionally propagate keywords
      passed to :meth:`__call__`
  clearOld: bool
      If ``True``, previously hooked up parameters will be removed first
docstr_tok: ["Binds","a","new","set","of","parameters","to","this","function",".","If","``","clearOld","``","is","*","True","*","(","default",")",",","previously","bound","parameters","are","disconnected",".","Parameters","--","--","--","--","--","params",":","Sequence","[","Parameter","]","New","parameters","to","listen","for","updates","and","optionally","propagate","keywords","passed","to",":","meth",":","`","__call__","`","clearOld",":","bool","If","``","True","``",",","previously","hooked","up","parameters","will","be","removed","first"]
code: def hookupParameters(self, params=None, clearOld=True):
      """
      Binds a new set of parameters to this function. If ``clearOld`` is *True* (
      default), previously bound parameters are disconnected.
  
      Parameters
      ----------
      params: Sequence[Parameter]
          New parameters to listen for updates and optionally propagate keywords
          passed to :meth:`__call__`
      clearOld: bool
          If ``True``, previously hooked up parameters will be removed first
      """
      if clearOld:
          self.removeParameters()
      for param in params:
          self.parameters[param.name()] = param
          param.sigValueChanged.connect(
              self.updateCachedParameterValues
          )
          # Populate initial values
          self.parameterCache[param.name()] = param.value()
  
imports: import contextlib
  import functools
  import inspect
  import pydoc
  from .None import Parameter
  from .parameterTypes import ActionGroupParameter
  from ..None import functions
label_desc: Use image node_id 6 for calling the InteractiveFunction obj's underlying member method code with example usage: obj.hookupParameters(params, clearOld) without return types