aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Channels/IChannelManager.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2023-03-01 18:57:23 +0100
committerBond_009 <bond.009@outlook.com>2023-03-14 12:05:49 +0100
commitd8ec3a5470fe602fab356c37720d38190aa713ef (patch)
treecd45b3a6ccd0085666d84f8b71ca7606fb94f68a /MediaBrowser.Controller/Channels/IChannelManager.cs
parentaf611367c14e2d56e6346b03bda7d75ab6f04b96 (diff)
Reduce usage of GetAwaiter().GetResult()
Diffstat (limited to 'MediaBrowser.Controller/Channels/IChannelManager.cs')
-rw-r--r--MediaBrowser.Controller/Channels/IChannelManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/Channels/IChannelManager.cs b/MediaBrowser.Controller/Channels/IChannelManager.cs
index e392a3493..8eb27888a 100644
--- a/MediaBrowser.Controller/Channels/IChannelManager.cs
+++ b/MediaBrowser.Controller/Channels/IChannelManager.cs
@@ -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.