-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backlog predicate #78
Comments
Perhaps |
There is a problem when creating fake events... the |
A predicate that can show a stacktrace or store a number of events up to a certain point:
Handling could be:
Backlog.__call__(event)
predicate returns True ifself.filter(event)
returns TrueIf
size
is given it stores detached in a deque with that sizethe first time[1]
self.filter(event)
returns True:sys._getframe()
up to self.stack depth and passes them to self.actionotherwise add events in self.queue
[1] similar to how From predicate works
The text was updated successfully, but these errors were encountered: