MCPcopy Create free account
hub / github.com/MertJSX/folderhost / Loop

Method Loop

utils/cache/loop.go:3–8  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1package cache
2
3func (c *Cache[KeyType, DataType]) Loop() {
4 for {
5 <-c.Ticker.C
6 c.LifeCycle()
7 }
8}

Callers 1

CreateCacheFunction · 0.80

Calls 1

LifeCycleMethod · 0.95

Tested by

no test coverage detected