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

Bread::Board::Service::Deferred - Helper for holding a service that is not quite constructed yet

Author

       Stevan Little <stevan@iinteractive.com>

Bugs

       Please report any bugs or feature requests on the bugtracker website
       https://github.com/stevan/BreadBoard/issues

       When submitting a bug or request, please include a test-file or a patch to an existing test-file that
       illustrates the bug or desired feature.

Description

       Class for proxy objects used when resolving circular dependencies.

       This class uses a few nasty tricks: replacing $_[0], using "AUTOLOAD", overriding "isa" "meta" and "can",
       heavy operator overloading... you should probably not take inspiration from this code unless you really
       know what you're doing.

       In practice, a variable containing an instance of "Bread::Board::Service::Deferred" will have its value
       changed to the actual value instantiated by the service at the first opportunity, and you should not
       notice that this class was ever there.

Name

       Bread::Board::Service::Deferred - Helper for holding a service that is not quite constructed yet

Version

       version 0.37

See Also