File tree Expand file tree Collapse file tree
anomaly-detector-rest/src
synapse-artifacts-rest/src
NetworkAnalytics.Management/generated/typespec-ts/src/rest
authoring/generated/typespec-ts/src
contoso/generated/typespec-ts/src
faceai/generated/typespec-ts/src
healthInsights_radiologyinsights/generated/typespec-ts/src
healthInsights_trialmatcher/generated/typespec-ts/src
loadTest/generated/typespec-ts/src
loadtesting_modular/generated/typespec-ts/src/rest
openai/generated/typespec-ts/src
widget_dpg/generated/typespec-ts/src/rest
integration/generated/azure/core/lro
modularIntegration/generated/azure/core/lro
standard/generated/src/rest Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ export async function getLongRunningPoller<TResult extends HttpResponse>(
105105 } ,
106106 sendPollRequest : async (
107107 path : string ,
108- options ?: { abortSignal ?: AbortSignalLike } ,
108+ pollOptions ?: { abortSignal ?: AbortSignalLike } ,
109109 ) => {
110110 // This is the callback that is going to be called to poll the service
111111 // to get the latest status. We use the client provided and the polling path
@@ -114,7 +114,7 @@ export async function getLongRunningPoller<TResult extends HttpResponse>(
114114 function abortListener ( ) : void {
115115 abortController . abort ( ) ;
116116 }
117- const inputAbortSignal = options ?. abortSignal ;
117+ const inputAbortSignal = pollOptions ?. abortSignal ;
118118 const abortSignal = abortController . signal ;
119119 if ( inputAbortSignal ?. aborted ) {
120120 abortController . abort ( ) ;
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ export async function getLongRunningPoller<TResult extends HttpResponse>(
105105 } ,
106106 sendPollRequest : async (
107107 path : string ,
108- options ?: { abortSignal ?: AbortSignalLike } ,
108+ pollOptions ?: { abortSignal ?: AbortSignalLike } ,
109109 ) => {
110110 // This is the callback that is going to be called to poll the service
111111 // to get the latest status. We use the client provided and the polling path
@@ -114,7 +114,7 @@ export async function getLongRunningPoller<TResult extends HttpResponse>(
114114 function abortListener ( ) : void {
115115 abortController . abort ( ) ;
116116 }
117- const inputAbortSignal = options ?. abortSignal ;
117+ const inputAbortSignal = pollOptions ?. abortSignal ;
118118 const abortSignal = abortController . signal ;
119119 if ( inputAbortSignal ?. aborted ) {
120120 abortController . abort ( ) ;
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ export async function getLongRunningPoller<TResult extends HttpResponse>(
105105 } ,
106106 sendPollRequest : async (
107107 path : string ,
108- options ?: { abortSignal ?: AbortSignalLike } ,
108+ pollOptions ?: { abortSignal ?: AbortSignalLike } ,
109109 ) => {
110110 // This is the callback that is going to be called to poll the service
111111 // to get the latest status. We use the client provided and the polling path
@@ -114,7 +114,7 @@ export async function getLongRunningPoller<TResult extends HttpResponse>(
114114 function abortListener ( ) : void {
115115 abortController . abort ( ) ;
116116 }
117- const inputAbortSignal = options ?. abortSignal ;
117+ const inputAbortSignal = pollOptions ?. abortSignal ;
118118 const abortSignal = abortController . signal ;
119119 if ( inputAbortSignal ?. aborted ) {
120120 abortController . abort ( ) ;
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ export async function getLongRunningPoller<TResult extends HttpResponse>(
105105 } ,
106106 sendPollRequest : async (
107107 path : string ,
108- options ?: { abortSignal ?: AbortSignalLike } ,
108+ pollOptions ?: { abortSignal ?: AbortSignalLike } ,
109109 ) => {
110110 // This is the callback that is going to be called to poll the service
111111 // to get the latest status. We use the client provided and the polling path
@@ -114,7 +114,7 @@ export async function getLongRunningPoller<TResult extends HttpResponse>(
114114 function abortListener ( ) : void {
115115 abortController . abort ( ) ;
116116 }
117- const inputAbortSignal = options ?. abortSignal ;
117+ const inputAbortSignal = pollOptions ?. abortSignal ;
118118 const abortSignal = abortController . signal ;
119119 if ( inputAbortSignal ?. aborted ) {
120120 abortController . abort ( ) ;
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ export async function getLongRunningPoller<TResult extends HttpResponse>(
105105 } ,
106106 sendPollRequest : async (
107107 path : string ,
108- options ?: { abortSignal ?: AbortSignalLike } ,
108+ pollOptions ?: { abortSignal ?: AbortSignalLike } ,
109109 ) => {
110110 // This is the callback that is going to be called to poll the service
111111 // to get the latest status. We use the client provided and the polling path
@@ -114,7 +114,7 @@ export async function getLongRunningPoller<TResult extends HttpResponse>(
114114 function abortListener ( ) : void {
115115 abortController . abort ( ) ;
116116 }
117- const inputAbortSignal = options ?. abortSignal ;
117+ const inputAbortSignal = pollOptions ?. abortSignal ;
118118 const abortSignal = abortController . signal ;
119119 if ( inputAbortSignal ?. aborted ) {
120120 abortController . abort ( ) ;
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ export async function getLongRunningPoller<TResult extends HttpResponse>(
105105 } ,
106106 sendPollRequest : async (
107107 path : string ,
108- options ?: { abortSignal ?: AbortSignalLike } ,
108+ pollOptions ?: { abortSignal ?: AbortSignalLike } ,
109109 ) => {
110110 // This is the callback that is going to be called to poll the service
111111 // to get the latest status. We use the client provided and the polling path
@@ -114,7 +114,7 @@ export async function getLongRunningPoller<TResult extends HttpResponse>(
114114 function abortListener ( ) : void {
115115 abortController . abort ( ) ;
116116 }
117- const inputAbortSignal = options ?. abortSignal ;
117+ const inputAbortSignal = pollOptions ?. abortSignal ;
118118 const abortSignal = abortController . signal ;
119119 if ( inputAbortSignal ?. aborted ) {
120120 abortController . abort ( ) ;
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ export async function getLongRunningPoller<TResult extends HttpResponse>(
124124 },
125125 sendPollRequest: async (
126126 path: string,
127- options ?: { abortSignal?: AbortSignalLike }
127+ pollOptions ?: { abortSignal?: AbortSignalLike }
128128 ) => {
129129 // This is the callback that is going to be called to poll the service
130130 // to get the latest status. We use the client provided and the polling path
@@ -133,7 +133,7 @@ export async function getLongRunningPoller<TResult extends HttpResponse>(
133133 function abortListener(): void {
134134 abortController.abort();
135135 }
136- const inputAbortSignal = options ?.abortSignal;
136+ const inputAbortSignal = pollOptions ?.abortSignal;
137137 const abortSignal = abortController.signal;
138138 if (inputAbortSignal?.aborted) {
139139 abortController.abort();
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ export async function getLongRunningPoller<TResult extends HttpResponse>(
219219 } ,
220220 sendPollRequest : async (
221221 path : string ,
222- options ?: { abortSignal ?: AbortSignalLike } ,
222+ pollOptions ?: { abortSignal ?: AbortSignalLike } ,
223223 ) => {
224224 // This is the callback that is going to be called to poll the service
225225 // to get the latest status. We use the client provided and the polling path
@@ -228,7 +228,7 @@ export async function getLongRunningPoller<TResult extends HttpResponse>(
228228 function abortListener ( ) : void {
229229 abortController . abort ( ) ;
230230 }
231- const inputAbortSignal = options ?. abortSignal ;
231+ const inputAbortSignal = pollOptions ?. abortSignal ;
232232 const abortSignal = abortController . signal ;
233233 if ( inputAbortSignal ?. aborted ) {
234234 abortController . abort ( ) ;
Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ export async function getLongRunningPoller<TResult extends HttpResponse>(
201201 } ,
202202 sendPollRequest : async (
203203 path : string ,
204- options ?: { abortSignal ?: AbortSignalLike } ,
204+ pollOptions ?: { abortSignal ?: AbortSignalLike } ,
205205 ) => {
206206 // This is the callback that is going to be called to poll the service
207207 // to get the latest status. We use the client provided and the polling path
@@ -210,7 +210,7 @@ export async function getLongRunningPoller<TResult extends HttpResponse>(
210210 function abortListener ( ) : void {
211211 abortController . abort ( ) ;
212212 }
213- const inputAbortSignal = options ?. abortSignal ;
213+ const inputAbortSignal = pollOptions ?. abortSignal ;
214214 const abortSignal = abortController . signal ;
215215 if ( inputAbortSignal ?. aborted ) {
216216 abortController . abort ( ) ;
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ export async function getLongRunningPoller<TResult extends HttpResponse>(
133133 } ,
134134 sendPollRequest : async (
135135 path : string ,
136- options ?: { abortSignal ?: AbortSignalLike } ,
136+ pollOptions ?: { abortSignal ?: AbortSignalLike } ,
137137 ) => {
138138 // This is the callback that is going to be called to poll the service
139139 // to get the latest status. We use the client provided and the polling path
@@ -142,7 +142,7 @@ export async function getLongRunningPoller<TResult extends HttpResponse>(
142142 function abortListener ( ) : void {
143143 abortController . abort ( ) ;
144144 }
145- const inputAbortSignal = options ?. abortSignal ;
145+ const inputAbortSignal = pollOptions ?. abortSignal ;
146146 const abortSignal = abortController . signal ;
147147 if ( inputAbortSignal ?. aborted ) {
148148 abortController . abort ( ) ;
You can’t perform that action at this time.
0 commit comments