3.0.0-beta.1 (2024-02-25)
Initial implementation of next-generation for Long Running Operations (LROs) in which we deprecate the LroEngine
support and change poller creation to a synchronized way.
LroEngine
is deprecated and no long supported- The return type of
createHttpPoller
is changed fromPromise<SimplePollerLike>
toPollerLike
- Some interfaces are renamed.
SimplePollerLike
is renamed asPollerLike
,LroResponse
is renamed asOperationResponse
andLroResourceLocationConfig
is toResourceLocationConfig
- Functions
getOperationState()
,getResult()
,isDone()
andisStopped()
is changed to read-only attributesoperationState
,result
,isDone
andisStopped
- Deprecated the attributes
requestMethod
andrequestPath
inLongRunningOperation
- Added a new function
serialize
to help serialize the poller - Added a new function
submitted
to help wait for the poller submitted succesffully - Added a new parameter
TRequest
forOperationResponse
to accept the raw request - Export the function
deserializeState
to the public