FetchRoomsAsync
method in Coherence.Cloud.CloudRoomsService
Methods
public Task<IReadOnlyList<RoomData>> FetchRoomsAsync(string[] tags = null)
Fetch the available rooms in the coherence Cloud asynchronously.
Parameters
| Type | Name | Description |
|---|---|---|
| string[] | tags | Filter the results by a list of tags. |
Returns
| Type | Description |
|---|---|
| Task<IReadOnlyList<RoomData>> |
public Task<IReadOnlyList<RoomData>> FetchRoomsAsync(string[] tags, CancellationToken cancellationToken)
Fetch the available rooms in the coherence Cloud asynchronously.
Parameters
| Type | Name | Description |
|---|---|---|
| string[] | tags | Filter the results by a list of tags. |
| CancellationToken | cancellationToken | Cancellation token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<IReadOnlyList<RoomData>> |