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
211: Added DispatcherBuilder::contains r=torkleyy a=schell
Adds a `contains` method to `DispatcherBuilder` that allows the caller to determine if a system with the given name has already been added.
This supports amethyst/specs#736.
Co-authored-by: Schell Carl Scivally <efsubenovex@gmail.com>
borsbot
added a commit
to amethyst/shred
that referenced
this issue
Oct 18, 2021
211: Added DispatcherBuilder::contains r=torkleyy a=schell
Adds a `contains` method to `DispatcherBuilder` that allows the caller to determine if a system with the given name has already been added.
This supports amethyst/specs#736.
Co-authored-by: Schell Carl Scivally <efsubenovex@gmail.com>
Description
DispatcherBuilder
should be able to tell us if a system has already been added:Motivation
This would allow callsites to conditionally add systems, avoiding panics.
Drawbacks
None - it is not a breaking change and has no performance implications.
I can work on this feature.
The text was updated successfully, but these errors were encountered: