-
Notifications
You must be signed in to change notification settings - Fork 88
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
Replacing callbacks #522
Replacing callbacks #522
Conversation
… grpc client Signed-off-by: SoTrx <[email protected]>
Signed-off-by: SoTrx <[email protected]>
Signed-off-by: SoTrx <[email protected]>
Signed-off-by: SoTrx <[email protected]> chore(project): Pretty-fix Signed-off-by: SoTrx <[email protected]> chore(project): Pretty-fix Signed-off-by: SoTrx <[email protected]> chore(project): Pretty-fix Signed-off-by: SoTrx <[email protected]> chore(project): Pretty-fix Signed-off-by: SoTrx <[email protected]> chore(project): Pretty-fix Signed-off-by: SoTrx <[email protected]> chore(project): Pretty-fix Signed-off-by: SoTrx <[email protected]>
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #522 +/- ##
==========================================
+ Coverage 35.23% 35.46% +0.22%
==========================================
Files 90 90
Lines 10143 10117 -26
Branches 415 394 -21
==========================================
+ Hits 3574 3588 +14
+ Misses 6503 6463 -40
Partials 66 66
☔ View full report in Codecov by Sentry. |
This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
This pull request has been automatically closed because it has not had activity in the last 37 days. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
Description
I replaced callbacks in the gRPC client implementation with their promise equivalent.
It uses promisify. I considered wrapping the client itself, but I couldn't do it in a truly type-safe way.
Issue reference
#483
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:
Ps: Sorry for the delay, I kind of forgot that this issue existed to be honest.