Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions core/src/docs/rfcs/3911_deleter_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ The following new API will be added to `Operator`:
```diff
impl Operator {
pub async fn detele(&self, path: &str) -> Result<()>;
+ pub async fn delete_with(&self, path: &str) -> FutureDelete;
+ pub fn delete_with(&self, path: &str) -> FutureDelete;

+ pub async fn deleter(&self) -> Result<Deleter>;
+ pub async fn deleter_with(&self) -> FutureDeleter;
+ pub fn deleter_with(&self) -> FutureDeleter;
}
```

Expand Down Expand Up @@ -96,7 +96,7 @@ deleter.close().await?;
Users can control the behavior of `Deleter` by setting the options:

```rust
let deleter = op.deleter()
let deleter = op.deleter_with()
// Allow up to 8 concurrent delete tasks, default to 1.
.concurrent(8)
// Configure the buffer size to 1000, default value provided by services.
Expand Down