Skip to content

Commit

Permalink
Add comment for Await (#973)
Browse files Browse the repository at this point in the history
  • Loading branch information
meiliang86 authored May 15, 2020
1 parent 56bd862 commit ecb64cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion workflow/deterministic_wrappers.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ type (
WaitGroup = internal.WaitGroup
)

// Blocks the calling thread until condition() returns true
// Blocks the calling thread until condition() returns true.
// Do not mutate values or trigger side effects inside condition.
// Returns CanceledError if the ctx is canceled.
// The following code is going to block until the captured count
// variable is set to 5.
Expand Down

0 comments on commit ecb64cf

Please sign in to comment.