You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is for the packages that do not need backward compatibility
We are imagining an option/flag to be set to enable or disable this @deyaaeldeen
HarshaNalluru
changed the title
[Codegen] Support v2 lro poller without backward compatibility
[Codegen] Support v3 lro poller without backward compatibility
Dec 17, 2024
Support v3 poller without backward compatibility too
Refer to the changes at Azure/azure-sdk-for-js@15629cd
Removed Imports:
AbortSignalLike
,CancelOnProgress
, andCreateHttpPollerOptions
from@azure/core-lro
.Function Signature Changes:
getLongRunningPoller
signatures were changed:Promise<SimplePollerLike<OperationState<TResult>, TResult>>
toPollerLike<OperationState<TResult>, TResult>
.options
type changed fromCreateHttpPollerOptions<TResult, OperationState<TResult>>
toGetLongRunningPollerOptions
.Removed Interface:
SimplePollerLike
interface was removed.Added Interface:
GetLongRunningPollerOptions
with propertiesintervalInMs
andrestoreFrom
.Function Implementation Changes:
getLongRunningPoller
now returnscreateHttpPoller(poller, options)
directly instead of wrapping it in aSimplePollerLike
.These changes simplify the poller-related code by removing backward compatibility methods and interfaces, focusing only on the v2 poller.
The text was updated successfully, but these errors were encountered: