Bread::Board::Service::Deferred::Thunk(3pm)

Bread::Board::Service::Deferred::Thunk3pm

Helper for using services with incomplete parameters

Version

version 0.37

Overview

This class is used when resolving dependencies that need parameters.

Since the service needs parameters to instantiate its value, and no values were provided for those parameters, the best we can do is use a coderef that will accept the parameters and call "get" on the service.

Methods

"inflate"

  my $service_value = $deferred_thunk->inflate(%service_parameters);

This will call "get" on the service, passing it all the %service_parameters. Normal parameter validation and service lifecycle apply.

Releases

6 releases since Debian 8 (Jessie); the text changed 3 times.

  1. 8–9
  2. 10
  3. 11
  4. 12–13

Author

Stevan Little <[email protected]>

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.

From libbread-board-perl 0.37-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.