(self, kwargs: Mapping[str, Any], actualTopic: Topic, allKwargs: Mapping[str, Any] = None)
return True
Call the listener with **kwargs. Note that it raises RuntimeError
        if listener is dead. Should always return True (False would require
        the callable_obj be dead but self hasn't yet been notified of it...).
Call the listener with **kwargs. Note that it raises RuntimeError
        if listener is dead. Should always return True (False would require
        the callable_obj be dead but self hasn't yet been notified of it...).
Call the listener with ** kwargs . Note that it raises RuntimeError if listener is dead . Should always return True ( False would require the callable_obj be dead but self hasn t yet been notified of it ... ) .
def __call__(self, kwargs: Mapping[str, Any], actualTopic: Topic, allKwargs: Mapping[str, Any] = None):
        """
        Call the listener with **kwargs. Note that it raises RuntimeError
        if listener is dead. Should always return True (False would require
        the callable_obj be dead but self hasn't yet been notified of it...).
        """
        if self.acceptsAllKwargs:
            kwargs = allKwargs or kwargs  # if allKwargs is None then use kwargs

        orig_kwargs = kwargs

        # combine with curried args; Note: this overrides topic arg if present:
        if self.curriedArgs:
            if kwargs:
                kwargs = kwargs.copy()
                kwargs.update(self.curriedArgs)
            else:
                kwargs = self.curriedArgs

        if self._autoTopicArgName is not None:
            if kwargs is orig_kwargs:
                kwargs = kwargs.copy()
            kwargs[self._autoTopicArgName] = actualTopic

        # call:
        cb = self._callable()
        if cb is None:
            self._calledWhenDead()
        cb(**kwargs)

        return True
def __call__ ( self , kwargs : Mapping [ str , Any ] , actualTopic : Topic , allKwargs : Mapping [ str , Any ] = None ) : if self . acceptsAllKwargs : kwargs = allKwargs or kwargs # if allKwargs is None then use kwargs orig_kwargs = kwargs # combine with curried args; Note: this overrides topic arg if present: if self . curriedArgs : if kwargs : kwargs = kwargs . copy ( ) kwargs . update ( self . curriedArgs ) else : kwargs = self . curriedArgs if self . _autoTopicArgName is not None : if kwargs is orig_kwargs : kwargs = kwargs . copy ( ) kwargs [ self . _autoTopicArgName ] = actualTopic # call: cb = self . _callable ( ) if cb is None : self . _calledWhenDead ( ) cb ( * * kwargs ) return True