Skip to content

Handle events asynchronously in the BackgroundProcessor's async variant #1787

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

Merged
merged 7 commits into from
Nov 10, 2022

Conversation

wpaulino
Copy link
Contributor

@wpaulino wpaulino commented Oct 20, 2022

Fixes #1674.

@tnull tnull self-requested a review October 21, 2022 17:37
@wpaulino wpaulino force-pushed the async-event-handler branch 2 times, most recently from 9579b76 to 91e53c1 Compare October 21, 2022 21:50
@TheBlueMatt
Copy link
Collaborator

TheBlueMatt commented Oct 24, 2022

Looks like doc examples now fail to build.

@TheBlueMatt
Copy link
Collaborator

Slipping to 0.0.113.

@TheBlueMatt TheBlueMatt added this to the 0.0.113 milestone Oct 24, 2022
@wpaulino wpaulino force-pushed the async-event-handler branch from 91e53c1 to d28ee40 Compare October 31, 2022 17:48
@wpaulino wpaulino force-pushed the async-event-handler branch from d28ee40 to d110099 Compare October 31, 2022 23:21
@jkczyz jkczyz self-requested a review November 1, 2022 21:33
@wpaulino wpaulino force-pushed the async-event-handler branch 2 times, most recently from 448300f to e752325 Compare November 2, 2022 21:53
Copy link
Collaborator

@TheBlueMatt TheBlueMatt left a comment

Choose a reason for hiding this comment

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

Basically LGTM.

@TheBlueMatt
Copy link
Collaborator

Needs (hopefully trivial) rebase after #1743

@wpaulino wpaulino force-pushed the async-event-handler branch from 8790e45 to 8d837f0 Compare November 3, 2022 20:15
@wpaulino wpaulino force-pushed the async-event-handler branch from 8d837f0 to d046480 Compare November 4, 2022 18:18
@wpaulino
Copy link
Contributor Author

wpaulino commented Nov 4, 2022

Had to rebase on latest to address a small conflict.

@wpaulino wpaulino force-pushed the async-event-handler branch from d046480 to c5c196b Compare November 8, 2022 01:26
@codecov-commenter
Copy link

codecov-commenter commented Nov 8, 2022

Codecov Report

Base: 90.82% // Head: 90.82% // No change to project coverage 👍

Coverage data is based on head (15b79f8) compared to base (15b79f8).
Patch has no changes to coverable lines.

❗ Current head 15b79f8 differs from pull request most recent head d3f1e25. Consider uploading reports for the commit d3f1e25 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1787   +/-   ##
=======================================
  Coverage   90.82%   90.82%           
=======================================
  Files          89       89           
  Lines       48011    48011           
  Branches    48011    48011           
=======================================
  Hits        43604    43604           
  Misses       4407     4407           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@wpaulino
Copy link
Contributor Author

wpaulino commented Nov 8, 2022

Ended up going with the struct wrappers approach since all of the alternatives we discussed offline didn't work out.

@wpaulino wpaulino force-pushed the async-event-handler branch from c5c196b to d8df37d Compare November 8, 2022 02:12
@wpaulino wpaulino force-pushed the async-event-handler branch 2 times, most recently from 55b0bc1 to 23cca38 Compare November 8, 2022 19:28
TheBlueMatt
TheBlueMatt previously approved these changes Nov 9, 2022
@wpaulino
Copy link
Contributor Author

Linked to the async implementations and rebased on latest to address a small conflict.

@TheBlueMatt
Copy link
Collaborator

CI fail is #1847, should pass after a re-run.

@TheBlueMatt TheBlueMatt merged commit 2a3c99c into lightningdevkit:main Nov 10, 2022
@wpaulino wpaulino deleted the async-event-handler branch November 10, 2022 21:51
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.

Make event processing async-optional
5 participants