Commit 2799861
committed
Support cancellation of NodeServices invocations
1 parent f358d8e commit 2799861Copy full SHA for 2799861
File tree
Expand file treeCollapse file tree
7 files changed
+86
-26
lines changedOpen diff view settings
Filter options
- src/Microsoft.AspNetCore.NodeServices
- HostingModels
- Util
Expand file treeCollapse file tree
7 files changed
+86
-26
lines changedOpen diff view settings
Collapse file
src/Microsoft.AspNetCore.NodeServices/HostingModels/HttpNodeInstance.cs
Copy file name to clipboardExpand all lines: src/Microsoft.AspNetCore.NodeServices/HostingModels/HttpNodeInstance.cs+9-6Lines changed: 9 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4 | 4 | |
5 | 5 | |
6 | 6 | |
| 7 | + |
7 | 8 | |
8 | 9 | |
9 | 10 | |
| ||
57 | 58 | |
58 | 59 | |
59 | 60 | |
60 | | - |
| 61 | + |
| 62 | + |
61 | 63 | |
62 | 64 | |
63 | 65 | |
64 | | - |
| 66 | + |
65 | 67 | |
66 | 68 | |
67 | 69 | |
68 | | - |
| 70 | + |
| 71 | + |
69 | 72 | |
70 | 73 | |
71 | 74 | |
| ||
81 | 84 | |
82 | 85 | |
83 | 86 | |
84 | | - |
| 87 | + |
85 | 88 | |
86 | 89 | |
87 | 90 | |
88 | | - |
| 91 | + |
89 | 92 | |
90 | 93 | |
91 | 94 | |
| ||
97 | 100 | |
98 | 101 | |
99 | 102 | |
100 | | - |
| 103 | + |
101 | 104 | |
102 | 105 | |
103 | 106 | |
|
Collapse file
src/Microsoft.AspNetCore.NodeServices/HostingModels/INodeInstance.cs
Copy file name to clipboard+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
| 2 | + |
2 | 3 | |
3 | 4 | |
4 | 5 | |
5 | 6 | |
6 | 7 | |
7 | 8 | |
8 | | - |
| 9 | + |
9 | 10 | |
10 | 11 | |
Collapse file
src/Microsoft.AspNetCore.NodeServices/HostingModels/OutOfProcessNodeInstance.cs
Copy file name to clipboardExpand all lines: src/Microsoft.AspNetCore.NodeServices/HostingModels/OutOfProcessNodeInstance.cs+11-5Lines changed: 11 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
| 6 | + |
6 | 7 | |
7 | 8 | |
8 | 9 | |
| ||
67 | 68 | |
68 | 69 | |
69 | 70 | |
70 | | - |
| 71 | + |
| 72 | + |
71 | 73 | |
72 | 74 | |
73 | 75 | |
| ||
79 | 81 | |
80 | 82 | |
81 | 83 | |
82 | | - |
83 | | - |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
84 | 88 | |
85 | 89 | |
86 | 90 | |
87 | 91 | |
88 | 92 | |
89 | 93 | |
90 | | - |
| 94 | + |
91 | 95 | |
92 | 96 | |
93 | 97 | |
| ||
96 | 100 | |
97 | 101 | |
98 | 102 | |
99 | | - |
| 103 | + |
| 104 | + |
| 105 | + |
100 | 106 | |
101 | 107 | |
102 | 108 | |
|
Collapse file
src/Microsoft.AspNetCore.NodeServices/HostingModels/SocketNodeInstance.cs
Copy file name to clipboardExpand all lines: src/Microsoft.AspNetCore.NodeServices/HostingModels/SocketNodeInstance.cs+15-10Lines changed: 15 additions & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
57 | 57 | |
58 | 58 | |
59 | 59 | |
60 | | - |
| 60 | + |
61 | 61 | |
62 | 62 | |
63 | 63 | |
| ||
70 | 70 | |
71 | 71 | |
72 | 72 | |
73 | | - |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
74 | 79 | |
75 | 80 | |
76 | 81 | |
| ||
83 | 88 | |
84 | 89 | |
85 | 90 | |
86 | | - |
| 91 | + |
87 | 92 | |
88 | 93 | |
89 | 94 | |
| ||
96 | 101 | |
97 | 102 | |
98 | 103 | |
99 | | - |
| 104 | + |
100 | 105 | |
101 | 106 | |
102 | 107 | |
| ||
163 | 168 | |
164 | 169 | |
165 | 170 | |
166 | | - |
| 171 | + |
167 | 172 | |
168 | 173 | |
169 | 174 | |
170 | | - |
| 175 | + |
171 | 176 | |
172 | 177 | |
173 | | - |
| 178 | + |
174 | 179 | |
175 | | - |
| 180 | + |
176 | 181 | |
177 | 182 | |
178 | 183 | |
179 | | - |
| 184 | + |
180 | 185 | |
181 | 186 | |
182 | 187 | |
183 | 188 | |
184 | 189 | |
185 | 190 | |
186 | | - |
| 191 | + |
187 | 192 | |
188 | 193 | |
189 | 194 | |
|
Collapse file
src/Microsoft.AspNetCore.NodeServices/INodeServices.cs
Copy file name to clipboardExpand all lines: src/Microsoft.AspNetCore.NodeServices/INodeServices.cs+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
| 2 | + |
2 | 3 | |
3 | 4 | |
4 | 5 | |
5 | 6 | |
6 | 7 | |
7 | 8 | |
8 | 9 | |
| 10 | + |
9 | 11 | |
10 | 12 | |
| 13 | + |
| 14 | + |
11 | 15 | |
12 | 16 | |
13 | 17 | |
|
Collapse file
src/Microsoft.AspNetCore.NodeServices/NodeServicesImpl.cs
Copy file name to clipboardExpand all lines: src/Microsoft.AspNetCore.NodeServices/NodeServicesImpl.cs+15-4Lines changed: 15 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
| 2 | + |
2 | 3 | |
3 | 4 | |
4 | 5 | |
| ||
34 | 35 | |
35 | 36 | |
36 | 37 | |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
37 | 43 | |
38 | 44 | |
39 | | - |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
40 | 51 | |
41 | 52 | |
42 | | - |
| 53 | + |
43 | 54 | |
44 | 55 | |
45 | 56 | |
46 | 57 | |
47 | 58 | |
48 | 59 | |
49 | | - |
| 60 | + |
50 | 61 | |
51 | 62 | |
52 | 63 | |
| ||
69 | 80 | |
70 | 81 | |
71 | 82 | |
72 | | - |
| 83 | + |
73 | 84 | |
74 | 85 | |
75 | 86 | |
|
Collapse file
src/Microsoft.AspNetCore.NodeServices/Util/TaskExtensions.cs
Copy file name to clipboard+30Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
0 commit comments