Skip to content

returns a handler instead of being a handler

Choose a tag to compare

@orthagonal orthagonal released this 18 Sep 16:19
· 30 commits to master since this release

In the new version of arc-cache, cacheReply has changed so that it returns a cache handler instead of directly returning cached values. Instead you call this handler to get your cached values. You can also specify your preferred cache policies to cacheReply and it will give you a handler that implements them for you. See tests for options you can pass in.