muesli / cache2go

Concurrency-safe Go caching library with expiration capabilities and access counters
Other
2.11k stars 516 forks source link

callback should be a queue? #19

Open GerryLon opened 6 years ago

GerryLon commented 6 years ago

when add callback twice or more(for example: SetAddedItemCallback), only the last will run.

muesli commented 5 years ago

That makes a lot of sense, agreed.

trapajim commented 5 years ago

mind if I work on that?

muesli commented 5 years ago

@trapajim No, of course not, go ahead!