FetchRoomsAsync
method in Coherence.Cloud.IRoomsService
Methods
Task<IReadOnlyList<RoomData>> FetchRoomsAsync(string[] tags = null)
Fetch available rooms asynchronously.
Parameters
Type | Name | Description |
---|---|---|
string[] | tags | Filter the results by a list of tags. |
Returns
Type | Description |
---|---|
Task<IReadOnlyList<RoomData>> |
Task<IReadOnlyList<RoomData>> FetchRoomsAsync(string[] tags, CancellationToken cancellationToken)
Fetch available rooms 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>> |