NAME

Time::Progress::Stored::Storage::Memory - Store the reports in-memory

DESCRIPTION

This is mostly for testing.

Store the reports in serialized JSON, to emulate storing them in an external server, which is better than just keeping the hashref around would be.

PROPERTIES

METHODS

store($id, $content) : Bool

Store the current report $content (a data structure) under the $id key.

retrieve($id) : $content | undef

Retrieve the current report $content under the $id key, or undef if none was found.