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

editorial: Use more precise algorithmic steps in unobserve() and disconnect() #278

Merged
merged 2 commits into from
Jun 4, 2024

Conversation

rakuco
Copy link
Member

@rakuco rakuco commented Jun 4, 2024

  • Refer to the proper Infra terms for removing items from lists and
    iterating over maps.
  • Expand some if-then statements into if + list of steps to prepare for
    upcoming changes that will add more steps to both methods.
  • In unobserve(), refer to [=observer=] rather than [=registered observer=] when comparing with a PressureObserver (a registered observer
    has an observer, which is a PressureObserver).
  • In disconnect(), properly define |source| before using it.

Preview | Diff

…onnect()

- Refer to the proper Infra terms for removing items from lists and
  iterating over maps.
- Expand some if-then statements into if + list of steps to prepare for
  upcoming changes that will add more steps to both methods.
- In `unobserve()`, refer to `[=observer=]` rather than `[=registered
  observer=]` when comparing with a PressureObserver (a registered observer
  has an observer, which is a PressureObserver).
- In `disconnect()`, properly define `|source|` before using it.
@rakuco rakuco requested review from kenchris and arskama June 4, 2024 10:18
@rakuco rakuco merged commit bb6a3d7 into main Jun 4, 2024
2 checks passed
@rakuco rakuco deleted the algorithmic-steps-in-unobserve-and-disconnect branch June 4, 2024 10:42
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.

2 participants