Introducing OpsQueue (#463)

* Introducing OpsQueue

Creating a PR to get feedback on standardizing on this concept.

Can be used for callbacks.
Already a couple of places use this construct. Wondering if we
should standardize on this across the board.
Just changing one place to use the new struct. Another place
that I know of which uses this pattern is the telemetry package.

* atomic flag -> bool
This commit is contained in:
Raja Subramanian
2022-02-25 11:56:26 +05:30
committed by GitHub
parent 6d88154402
commit 2959eebca8
3 changed files with 77 additions and 26 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
// Code generated by Wire. DO NOT EDIT.
//go:generate go run github.com/google/wire/cmd/wire
//+build !wireinject
//go:build !wireinject
// +build !wireinject
package service