using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
namespace Octokit
{
///
/// Reflects a collection of data returned from an API that can be paged.
///
///
public interface IReadOnlyPagedCollection : IReadOnlyList
{
///
/// Returns the next page of items.
///
///
[SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate",
Justification = "Makes a network request")]
Task> GetNextPage();
}
}