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

Update the room member handler to use async/await. #7507

Merged
merged 2 commits into from
May 15, 2020

Conversation

clokep
Copy link
Member

@clokep clokep commented May 14, 2020

Convert the room member (and worker) handler to async/await.

This was pretty straight-forward, but the sub-class made it a little tricky. Some of the types and such a bit funky. I'll follow this up with type hints.

@clokep clokep requested a review from a team May 15, 2020 11:08
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, assuming a PR which fixes the docstrings which claim that these functions return Deferred is on its way :)

@clokep
Copy link
Member Author

clokep commented May 15, 2020

lgtm, assuming a PR which fixes the docstrings which claim that these functions return Deferred is on its way :)

I cleaned those up at the same time as doing type hints, all of it together just got a bit bigger than I wanted so put this one up first. :)

@clokep clokep merged commit e9f3de0 into develop May 15, 2020
@clokep clokep deleted the clokep/room-member-async branch May 15, 2020 13:32
phil-flex pushed a commit to phil-flex/synapse that referenced this pull request Jun 16, 2020
@clokep clokep mentioned this pull request Jul 30, 2020
48 tasks
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.

2 participants