/// <summary>
        /// Gets identifiers for all streams whose head and last snapshot revisions differ by at least the threshold specified for the default bucket.
        /// </summary>
        /// <param name="accessSnapshots">The <see cref="IAccessSnapshots"/> instance.</param>
        /// <param name="maxThreshold">The maximum difference between the head and most recent snapshot revisions.</param>
        /// <param name="cancellationToken">The cancellation token.</param>
        /// <returns>The streams for which the head and snapshot revisions differ by at least the threshold specified.</returns>
        /// <exception cref="StorageException" />
        /// <exception cref="StorageUnavailableException" />
        public static Task <IEnumerable <IStreamHead> > GetStreamsToSnapshotAsync(this IAccessSnapshots accessSnapshots, int maxThreshold, CancellationToken cancellationToken)
        {
            if (accessSnapshots == null)
            {
                throw new ArgumentException("accessSnapshots is null");
            }

            return(accessSnapshots.GetStreamsToSnapshotAsync(Bucket.Default, maxThreshold, cancellationToken));
        }