mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-15 18:53:27 +01:00
Reduce usage of GetAwaiter().GetResult()
This commit is contained in:
@@ -46,14 +46,14 @@ namespace MediaBrowser.Controller.Channels
|
||||
/// </summary>
|
||||
/// <param name="query">The query.</param>
|
||||
/// <returns>The channels.</returns>
|
||||
QueryResult<Channel> GetChannelsInternal(ChannelQuery query);
|
||||
Task<QueryResult<Channel>> GetChannelsInternalAsync(ChannelQuery query);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the channels.
|
||||
/// </summary>
|
||||
/// <param name="query">The query.</param>
|
||||
/// <returns>The channels.</returns>
|
||||
QueryResult<BaseItemDto> GetChannels(ChannelQuery query);
|
||||
Task<QueryResult<BaseItemDto>> GetChannelsAsync(ChannelQuery query);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the latest channel items.
|
||||
|
||||
Reference in New Issue
Block a user