This package is especially useful when implementing a caching mechanism. I personally use it in some of my packages as a way to get the current value directly whilst also registering an action for a second reload for example, when the reloader function is done.

Features

  • Provide current value and reloader function at the same time
  • Treat errors in reloader function

Getting started

Check out the example - once there is one - to see how to use this thing.

Usage

This is something I defer to when I want to supply an example. For now you could check out the easy_calendar package. I use the easy_tuple package there.

Additional information

I mainly developed this package for me, but if you want me to add modifications that would greatly benefit you, feel free to open a MR and I will have a look!

Libraries

easy_tuple