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

Create single threaded Feature with scheduler #158

Merged

Conversation

LachlanMcKee
Copy link
Collaborator

@LachlanMcKee LachlanMcKee commented Jul 18, 2022

This PR contains the following:

  • Reverted BaseFeature back to how it originally was.
  • Moved the AsyncFeature logic into BaseAsyncFeature
  • Added a single threaded scheduler to BaseFeature
    • This will allow the feature to smartly switch back to the feature thread without developer intervention
  • Created a factory to create these schedulers

Feedback greatly appreciated!

@LachlanMcKee
Copy link
Collaborator Author

@CherryPerry I don't suppose you would mind taking a look when you get a chance? :)

@LachlanMcKee LachlanMcKee force-pushed the split-async-and-sync-base-feature branch 3 times, most recently from fea2ce7 to 041beb8 Compare July 22, 2022 21:16
@LachlanMcKee LachlanMcKee changed the title [Draft] Create single threaded Feature with scheduler Create single threaded Feature with scheduler Jul 22, 2022
@LachlanMcKee LachlanMcKee force-pushed the split-async-and-sync-base-feature branch from 041beb8 to 30f06d7 Compare July 22, 2022 21:35
@LachlanMcKee
Copy link
Collaborator Author

@CherryPerry I'm pretty happy with where the PR is now. I don't consider this a draft anymore

@LachlanMcKee LachlanMcKee force-pushed the split-async-and-sync-base-feature branch 2 times, most recently from 374d15e to dfa6fb9 Compare August 3, 2022 14:42
@LachlanMcKee LachlanMcKee force-pushed the split-async-and-sync-base-feature branch from dfa6fb9 to c91156c Compare August 3, 2022 14:48
@LachlanMcKee LachlanMcKee force-pushed the split-async-and-sync-base-feature branch from c91156c to 53aa5f3 Compare August 3, 2022 17:03
@CherryPerry CherryPerry merged commit 5eb115f into badoo:master Aug 4, 2022
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.

3 participants