code: def _monitor_callback_wrapper(callback):
      
      def callback_handle(name, array, _):
          """ ctypes function """
          callback(name, array)
      return callback_handle
docs: A wrapper for the user-defined handle.