Commit 6630763
authored
[service-bus] init() refactor to propagate abortSignal support. (Azure#10578)
Uniting all the "link" related entities (mgmt link, receiver, sender).
This PR unites all the links so they use the same code to open and close
the underlying link. As part of this a few nice refactors came in:
1. All link related classes, including the mgmt link, now use the same
init() code (which also means they can, if passed, handle abortSignal's
when running)
2. open/close state has been moved into LinkEntity.
3. Boundaries between LinkEntity and the child classes is more clear.1 parent 6f51415 commit 6630763
File tree
18 files changed
+875
-561
lines changed- sdk/servicebus/service-bus
- src
- core
- receivers
- session
- test
- internal
18 files changed
+875
-561
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 16 | + | |
22 | 17 | | |
23 | 18 | | |
24 | 19 | | |
| |||
41 | 36 | | |
42 | 37 | | |
43 | 38 | | |
44 | | - | |
| 39 | + | |
45 | 40 | | |
46 | 41 | | |
47 | 42 | | |
| |||
69 | 64 | | |
70 | 65 | | |
71 | 66 | | |
72 | | - | |
| 67 | + | |
73 | 68 | | |
74 | 69 | | |
75 | 70 | | |
| |||
87 | 82 | | |
88 | 83 | | |
89 | 84 | | |
90 | | - | |
91 | | - | |
| 85 | + | |
92 | 86 | | |
93 | 87 | | |
94 | 88 | | |
| |||
0 commit comments