Skip to content

Make QCoro::connect more generic#138

Merged
danvratil merged 1 commit intoqcoro:mainfrom
jbruechert:feature/connect-general
Nov 19, 2022
Merged

Make QCoro::connect more generic#138
danvratil merged 1 commit intoqcoro:mainfrom
jbruechert:feature/connect-general

Conversation

@jbruechert
Copy link
Contributor

  • Member function pointers are now allowed as callback
  • Any awaitable can now be connected to.
  • It's now possible to pass temporaries to connect, as they previously couldn't passed in by mutable reference

@jbruechert jbruechert force-pushed the feature/connect-general branch 2 times, most recently from 8245219 to 4e14248 Compare November 19, 2022 20:38
Copy link
Collaborator

@danvratil danvratil left a comment

Choose a reason for hiding this comment

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

Nice job, thanks!

Just some smaller nitpicks to fix and what I suspect is a missing test-case :)

@jbruechert jbruechert force-pushed the feature/connect-general branch from 4e14248 to 8325b6f Compare November 19, 2022 21:29
- Member function pointers are now allowed as callback
- Any awaitable can now be connected to.
@jbruechert jbruechert force-pushed the feature/connect-general branch from 8325b6f to 8f719cd Compare November 19, 2022 22:20
@danvratil danvratil merged commit 827081b into qcoro:main Nov 19, 2022
@danvratil
Copy link
Collaborator

Thank you!

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