Skip to content

Commit

Permalink
Merge pull request #225 from mina86/patch-1
Browse files Browse the repository at this point in the history
Update 2024-09-24-watermelon-operator.dj
  • Loading branch information
matklad authored Sep 25, 2024
2 parents c78f5f0 + 86282a7 commit c461125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/posts/2024-09-24-watermelon-operator.dj
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async fn update_cache(cache: Cache, response: Response);
fn spawn<T>(f: impl Future<Output = T>) -> JoinHandle<T>;
```

This is multi-task concurrency style --- we fire off two tasks four updating the database and the
This is multi-task concurrency style --- we fire off two tasks for updating the database and the
cache. Here's the same snippet in intra-task style, where we use join function on futures:

```rust
Expand Down

0 comments on commit c461125

Please sign in to comment.