Interface SimplePollerLike<TState, TResult> Type Parameters TState extends OperationState < TResult > TResult Methods is Done is Done ( ) : boolean Returns boolean is Stopped is Stopped ( ) : boolean Returns boolean on Progress on Progress ( callback ) : CancelOnProgress Parameters callback : ( ( state ) => void ) ( state ) : void Returns void Returns CancelOnProgress poll poll ( options ? ) : Promise < TState > Parameters Optional
options : { abortSignal ?: any ; } Optional
abort Signal ?: any Returns Promise < TState > poll Until Done poll Until Done ( pollOptions ? ) : Promise < TResult > Parameters Optional
pollOptions : { abortSignal ?: any ; } Optional
abort Signal ?: any Returns Promise < TResult > serialize serialize ( ) : Promise < string > Returns Promise < string > stop Polling stop Polling ( ) : void Returns void submitted submitted ( ) : Promise < void > Returns Promise < void > to String to String ( ) : string Returns string
A simple poller that can be used to poll a long running operation.