(self, hook)
Add hook to be triggered when the threshold of this Source is surpassed
Add hook to be triggered when the threshold of this Source is surpassed
Add hook to be triggered when the threshold of this Source is surpassed
def add_edge_hook(self, hook):
        """
        Add hook to be triggered when the threshold of this Source is surpassed
        """
        if hook is None:
            return

        self.edge_hooks.append(hook)
def add_edge_hook ( self , hook ) : if hook is None : return self . edge_hooks . append ( hook )