Commit aa54b91
Return connection when Connected
- [X] Read the [Contributing document](../blob/-/.github/CONTRIBUTING.md).
Summary
---------------
Context: Context: grpc/grpc-go#7029
Wait for status changed and return when connection is connected. Since
DialContext has been removed, it's a bit unclear what needed to happen
for connection to be ready for use. This code will bring back
partial implementation of DialContext so that connection is ready.
Backward Compatibility
---------------
Breaking Change? **No**1 parent 2c9b31c commit aa54b91
1 file changed
+16
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| 57 | + | |
| 58 | + | |
56 | 59 | | |
57 | 60 | | |
58 | 61 | | |
| |||
67 | 70 | | |
68 | 71 | | |
69 | 72 | | |
70 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
71 | 86 | | |
0 commit comments