| 1 | package OpenTracing::Interface::ScopeManager; | ||
| 2 | |||
| 3 | 3 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 3 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | |||
| 7 | 3 | our $VERSION = 'v0.202.0'; | |
| 8 | |||
| 9 | |||
| 10 | 3 | ▶ | use Role::Declare -lax; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | 3 | ▶ | use OpenTracing::Types qw/Scope Span/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | 3 | ▶ | use Types::Standard qw/Bool Dict Optional/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | |||
| 15 | 3 | ▶ | use namespace::clean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | |||
| 17 | |||
| 18 | instance_method activate_span( | ||
| 19 | Span $span, | ||
| 20 | Bool :$finish_span_on_close, # should default to true | ||
| 21 | 3 | ▶ | ) :Return(Scope) {} |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | |||
| 23 | |||
| 24 | |||
| 25 | instance_method get_active_scope( | ||
| 26 | 3 | ▶ | ) :ReturnMaybe(Scope) {} |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 27 | |||
| 28 | |||
| 29 | |||
| 30 | 3 | 1; | |