-
Notifications
You must be signed in to change notification settings - Fork 923
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
Update docstring of SimEvent #2417
Conversation
Performance benchmarks:
|
Thanks! @jtcooper10, would this solve your point raised? |
Just out of curiosity, why does it use a weak reference at all? |
I think so! The note being here will help to save from any future head-scratching about lambdas. |
Imagine an event is scheduled to invoke |
Ah, yes of course! Thanks for detailing it out, made it very clear |
In response to this feedback on the beta, this PR adds a notes to SimEvent to explicitly point out that using lambda's in
SimEvent
won't work.