Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Trace#spanK #680

Merged
merged 2 commits into from
Dec 17, 2022
Merged

Add Trace#spanK #680

merged 2 commits into from
Dec 17, 2022

Conversation

armanbilge
Copy link
Member

span expressed as a FunctionK.

At risk of having too many ways to do things: the difference between spanR and spanK is that:

  • spanR creates one span, and shares it every time the transformation is applied. Its parent is determined by where the resource is acquired.
  • spanK creates a new span every time the transformation is applied. Its parent is determined by where the transformation is applied.

@mpilquist mpilquist merged commit 2f7721f into typelevel:main Dec 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants