Skip to content

Commit

Permalink
linter wants me to add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
madisonchamberlain committed Jun 18, 2024
1 parent 14ecdfa commit 2ebee9e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions function_wrappers.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ type GoroutineWrapperFunc func(ctx context.Context, f func())
var noopGoroutineWrapper = func(_ context.Context, f func()) {
f()
}

// GoroutineWrapper is used to hold the GoroutineWrapperFunc set by the client, or to
// store the default goroutine wrapper which does nothing
var GoroutineWrapper GoroutineWrapperFunc = noopGoroutineWrapper

0 comments on commit 2ebee9e

Please sign in to comment.