Skip to content
This repository has been archived by the owner on Aug 26, 2023. It is now read-only.

feat: expose readonly interfaces for machine and notifier #6

Merged
merged 2 commits into from
Dec 18, 2022
Merged

Conversation

jolexxa
Copy link
Member

@jolexxa jolexxa commented Dec 18, 2022

Exposes readonly interfaces for Machine and Notifier. If you need to share a machine with a another object but don't want that object to be able to modify the machine's state, you can share it as an IReadOnlyMachine (or IReadOnlyNotifier for notifiers).

@jolexxa jolexxa merged commit ebf87dd into main Dec 18, 2022
@jolexxa jolexxa deleted the readonly branch April 2, 2023 20:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant