<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [ibm-cloud-sdk-core](./ibm-cloud-sdk-core.md) &gt; [BaseService](./ibm-cloud-sdk-core.baseservice.md) &gt; [enableRetries](./ibm-cloud-sdk-core.baseservice.enableretries.md)

## BaseService.enableRetries() method

Enable retries for unfulfilled requests.

**Signature:**

```typescript
enableRetries(retryOptions?: RetryOptions): void;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

retryOptions


</td><td>

RetryOptions


</td><td>

_(Optional)_ the configuration for retries


</td></tr>
</tbody></table>
**Returns:**

void

