jellydator / ttlcache

An in-memory cache with item expiration and generics
MIT License
930 stars 116 forks source link

add supressed loader initialization function #89

Closed davseby closed 1 year ago

davseby commented 1 year ago

Currently there is no way to use the suppressed loader, as the group attribute is always nil (issue #86). This adds a new function which initializes the structure with the Loader and group parameters, if the group parameter is nil, it creates a new single flight group object.

Closes #86