- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for slowCaller (0.04 sec)
-
internal/cachevalue/cache_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cachevalue import ( "context" "errors" "testing" "time" ) func slowCaller(ctx context.Context) error { sl := time.NewTimer(time.Second) defer sl.Stop() select { case <-sl.C: case <-ctx.Done(): return ctx.Err() } return nil }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 2.7K bytes - Viewed (0)