Skip to content
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

Event handlers #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Event handlers #3

wants to merge 3 commits into from

Conversation

cameron-morrow-toptal
Copy link
Collaborator

this branch was created from the multiple branch, please review/approve/merge that first

this branch switches the radar event handlers to use multiple generic arguments instead of a singular tuple argument, allowing for cleaner syntax when assigning new handlers to events

this is technically breaking for anyone who assigned handlers to the radar events with multiple parameters. instead of coding
Radar.LocationUpdated += args => { var (loc, user) = args; ... }
they will code instead
Radar.LocationUpdated += (loc, user) => { ... }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant