RefreshRegionsAsync
method in Coherence.Cloud.CloudRooms
Methods
[Obsolete("This method is deprecated and will be removed in a future version. Use CloudService.Regions.FetchRegionsAsync instead.")]
public Task<IReadOnlyList<string>> RefreshRegionsAsync(CancellationToken cancellationToken = default)
Get all the available regions for Rooms asynchronously. You can enable or disable regions in the Online Dashboard, in the Rooms section.
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | (Optional) Cancellation token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<IReadOnlyList<string>> |