Bread:...:Thunk(3pm)
β¨ Bread::Board::Service::Deferred::Thunk π
okay bestie, so this page is literally about Bread::Board::Service::Deferred::Thunk from the perl docs (that's the 3pm girlies π), and she is such a helper. Let's get into it.
πΈ VERSION
version 0.37 β yes, that's the one, no cap β¨
π¦ DESCRIPTION
So here's the tea π«: this class shows up when you're resolving dependencies that need parameters.
Picture it β the service can't actually make its value yet because it's missing the parameters it needs, and nobody handed any values over for those parameters. Tragic. π So what's the best we can do? We hand you back a coderef that will accept the parameters, and then call "get" on the service. That's it. That's the whole vibe. β¨
π METHODS
π "inflate"
my $service_value = $deferred_thunk->inflate(%service_parameters);
This is the moment, the main character energy π β inflate calls "get" on the service and passes it all the %service_parameters. And listen: normal parameter validation and service lifecycle still apply, periodt. No shortcuts, no skips, it's all still running the way it's supposed to. π
π AUTHOR
Stevan Little <stevan@iinteractive.com> β the icon, the legend β
π BUGS
Please report any bugs or feature requests on the bugtracker website:
https://github.com/stevan/BreadBoard/issues
And when you're submitting a bug or a request, pretty please include a test-file or a patch to an existing test-file that illustrates the bug or the desired feature. It's giving helpful, it's giving considerate π«Ά
π COPYRIGHT AND LICENSE
This software is copyright (c) 2019, 2017, 2016, 2015, 2014, 2013, 2011, 2009 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. π
okay that's the whole page, and yes, it was generated by perl v5.36.0 on 2022-12-12 β so when you see that footer at the bottom of the real thing, that's just the perl that made it, slay ππ
π¦ where this page comes from
- debian bookworm: libbread-board-perl 0.37-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libbread-board-perl 0.37-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libbread-board-perl 0.37-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu questing: libbread-board-perl 0.37-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms