Async/TransactionContext.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 13 / 13 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Async.pm ↑ Summary
1 package DBIO::Async::TransactionContext;
2 # ABSTRACT: Pinned-connection context for dbio-async (future_io) transactions
3  
4 9 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 9 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 9 ▶use base 'DBIO::Storage::Async::TransactionContext';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8  
9 9 1;
10  
11 __END__
12  
13 =pod
14  
15 =encoding UTF-8
16  
17 =head1 NAME
18  
19 DBIO::Async::TransactionContext - Pinned-connection context for dbio-async (future_io) transactions
20  
21 =head1 VERSION
22  
23 version 0.900001
24  
25 =head1 DESCRIPTION
26  
27 The transaction context for the C<future_io> backend. A thin subclass of the
28 loop-agnostic L<DBIO::Storage::Async::TransactionContext> (ADR 0030 §4): all
29 behaviour -- pinning every CRUD operation to the single connection that
30 C<BEGIN>/C<COMMIT>/C<ROLLBACK> ran on, routed through the storage's shared
31 C<_run_crud_pinned> builder -- is inherited unchanged.
32  
33 It exists as a named class because L<DBIO::Async::Storage/_txn_context_class>
34 resolves to it and drivers / tests refer to it by name.
35  
36 =head1 AUTHOR
37  
38 DBIO Authors
39  
40 =head1 COPYRIGHT AND LICENSE
41  
42 Copyright (C) 2026 DBIO Authors
43  
44 This is free software; you can redistribute it and/or modify it under
45 the same terms as the Perl 5 programming language system itself.
46  
47 =cut
« Async.pm ↑ Summary