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

Refactor Cleanroom logic #2108

Merged
merged 1 commit into from Jul 1, 2023
Merged

Refactor Cleanroom logic #2108

merged 1 commit into from Jul 1, 2023

Conversation

miozune
Copy link
Member

@miozune miozune commented Jul 1, 2023

IMachineCallback is too abstract as to what it does. Also it's not that useful as it doesn't allow multiple callbacks to set.
I replaced it with ICleanroomReceiver and ICleanroom with some necessary methods. Abstraction done with ICleanroom can potentially allow more generic logic to interact with cleanroom or make dummy cleanroom that is always clean.
No other mods seem to have reference to IMachineCallback, so full backward compatibility is expected.

@miozune miozune requested review from a team July 1, 2023 03:40
@miozune miozune merged commit 027b98a into master Jul 1, 2023
2 checks passed
@miozune miozune deleted the feature/cleanroom-refactor branch July 1, 2023 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants