public static Task FlushBucketAsync(this IBucketManager bucketManager, string bucketName, Action <FlushBucketOptions> configureOptions) { var options = new FlushBucketOptions(); configureOptions(options); return(bucketManager.FlushBucketAsync(bucketName, options)); }
public static Task FlushBucketAsync(this IBucketManager bucketManager, string bucketName) { return(bucketManager.FlushBucketAsync(bucketName, FlushBucketOptions.Default)); }