Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RetryStrategy

public

Interface that specifies the retry behavior

Hierarchy

  • RetryStrategy

Implemented by

Index

Properties

Properties

Optional mode

mode: undefined | string

The retry mode describing how the retry strategy control the traffic flow.

retry

retry: <Input, Output>(next: FinalizeHandler<Input, Output>, args: FinalizeHandlerArguments<Input>) => Promise<FinalizeHandlerOutput<Output>>

the retry behavior the will invoke the next handler and handle the retry accordingly. This function should also update the $metadata from the response accordingly.

see

{@link ResponseMetadata}

Type declaration