Bread::Board::Service::Deferred - Helper for holding a service that is not quite constructed yet
Class for proxy objects used when resolving circular dependencies.
This class uses a few nasty tricks: replacing
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.
Stevan Little <firstname.lastname@example.org>
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.
This software is copyright (c) 2016 by Infinity Interactive.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.