Skip to content

Why Span has an enter() method? #2989

Answered by mladedav
psandana asked this question in Q&A
Discussion options

You must be logged in to vote

Because sometimes you want to enter it sometime later after its creation and sometimes you want to enter and exit it multiple times (for example instrumented futures do this).

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@psandana
Comment options

@mladedav
Comment options

Answer selected by psandana
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants