-
Notifications
You must be signed in to change notification settings - Fork 87
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
Executor API cleanup and simplification #61
Conversation
Derive copy on the enum as well.
Change signatures of methods that don't need to be async or fallible.
I have further YAGNI feeling about parts of the abstract API:
|
@mzabaluev Executor traits are for organization and reuse in a would be SDK. |
In general, I would prefer not introducing traits until there are at least two implementations genuinely needing the abstraction. Especially those transformed by |
I can cut it out in this PR while we are at it, the only problem would be a merge conflict with #58. |
I tend to do a fair bit of type-level programming first and like be able to refer to traits for quick understanding on the first pass. So, I'll need to work on that. I'm trying to use |
They could, but it's not my first concern. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RD
Make
FinalityMode
passed by value like a simple mode selector parameter should be.Change signatures of methods that don't need to be async
or fallible.