You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you do not want to add the queue. simply do not extend the queue in your class.
class CallBackAbstraction(Object):
"""calls the function when values are added to the queue"""
def __init__(self, func):
super(CallBackAbstraction, self).__init__()
self.callback_func = func
def put(response):
self.func(response)
It would be good to have a call back method that is just executed on each poll.
The text was updated successfully, but these errors were encountered: