logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Catmandu::Flushable - Optional role for flushable bags

Description

       "flush" makes sure that data added get persisted to disk for stores that support this operation (e.g.
       Elasticsearch).

       This role also installs a hook that calls "flush" on "commit".

Methods

flush
       Flush the bag.

perl v5.40.0                                       2025-01-17                           Catmandu::Flushable(3pm)

Name

       Catmandu::Flushable - Optional role for flushable bags

Synopsis

           $store->bag->flush;

See Also