Skip to content

Commit

Permalink
Clarified context role in the examples
Browse files Browse the repository at this point in the history
  • Loading branch information
destel committed Nov 25, 2024
1 parent f3246d9 commit 6b95a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

// This example demonstrates a Rill pipeline that fetches users from an API,
// updates their status to active and saves them back.
// Both operations are performed concurrently
// Both operations are performed concurrently.
// [ForEach] returns on the first error, and context cancellation via defer stops all remaining fetches.
func Example() {
ctx, cancel := context.WithCancel(context.Background())
Expand Down

0 comments on commit 6b95a86

Please sign in to comment.