public static Task WatchIndexesAsync(this IQueryIndexManager queryIndexManager, string bucketName, IEnumerable <string> indexNames, Action <WatchQueryIndexOptions> configureOptions) { var options = new WatchQueryIndexOptions(); configureOptions(options); return(queryIndexManager.WatchIndexesAsync(bucketName, indexNames, options)); }
public static Task WatchIndexesAsync(this IQueryIndexManager queryIndexManager, string bucketName, IEnumerable <string> indexNames) { return(queryIndexManager.WatchIndexesAsync(bucketName, indexNames, WatchQueryIndexOptions.Default)); }