FetchRegions
method in Coherence.Cloud.RegionsService
Methods
public void FetchRegions(Action<RequestResponse<Region[]>> onRequestFinished, CancellationToken cancellationToken = default)
Fetches available regions and their associated ping servers asynchronously.
Parameters
| Type | Name | Description |
|---|---|---|
| Action<RequestResponse<Region[]>> | onRequestFinished | Callback invoked when the request completes with region and ping server data. |
| CancellationToken | cancellationToken | Optional cancellation token to cancel the operation. |