Skip to content

feat: utils for measuring effect time#1677

Merged
kubukoz merged 3 commits intotypelevel:series/3.xfrom
patseev:series/3.x
Feb 13, 2021
Merged

feat: utils for measuring effect time#1677
kubukoz merged 3 commits intotypelevel:series/3.xfrom
patseev:series/3.x

Conversation

@patseev
Copy link
Copy Markdown
Contributor

@patseev patseev commented Feb 11, 2021

Closes #1672

@patseev patseev changed the title feat: timed syntax for GenTemporal feat: utils for measuring effect time Feb 11, 2021
Copy link
Copy Markdown
Member

@djspiewak djspiewak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fantastic. Just the one small change about monotonic vs realTime, and additionally I think it can be moved up to Clock since it doesn't rely on sleep or anything concurrent.

@patseev
Copy link
Copy Markdown
Contributor Author

patseev commented Feb 12, 2021

Made all requested changes.
@djspiewak @kubukoz should I target 2.x with the same utils?
I suppose I won't be able to put it into Clock because there's no applicative there, but I could create similar ClockSyntax with implicit requirement of Applicative to make it work. What do you think?

@kubukoz
Copy link
Copy Markdown
Member

kubukoz commented Feb 12, 2021

I would like to see that, but I'm not sure we should do that...

Co-authored-by: Georgi Krastev <[email protected]>
Copy link
Copy Markdown
Member

@kubukoz kubukoz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we got it! @djspiewak I think your concerns were addressed, but feel free to blame me if anything is still missing

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.

5 participants