Releases
v2.0.0-beta14
New Feature
Add effectie-time
module (#601 )
[effectie-time
] Add TimeSource
(#602 )
TimeSource [F ].currentTime()
TimeSource [F ].realTime
TimeSource [F ].realTimeTo
TimeSource [F ].monotonic
TimeSource [F ].monotonicTo
TimeSource [F ].timeSpent(F [A ])
[effectie-time
] Add ApproxFiniteDuration
and syntax
(#603 )
import scala .concurrent .duration ._
import effectie .time .syntax ._
5 .seconds +- 2 .seconds
// ApproxFiniteDuration(5.seconds, 2.seconds)
3 .seconds.isWithIn(5 .seconds +- 2 .seconds)
// Boolean = true
7 .seconds.isWithIn(5 .seconds +- 2 .seconds)
// Boolean = true
2 .seconds.isWithIn(5 .seconds +- 2 .seconds)
// Boolean = false
8 .seconds.isWithIn(5 .seconds +- 2 .seconds)
// Boolean = false
Add effectie-cats-effect2-time
effectie-time-cats-effect2
(#607 )
[effectie-cats-effect2-time
] Add TimeSource
with Clock
from cats-effect
2 (#608 )
Add effectie-cats-effect3-time
effectie-time-cats-effect3
(#610 )
[effectie-cats-effect3-time
] Add TimeSource
with Clock
from cats-effect
3 (#611 )
Rename effectie-cats-effect2-time
to effectie-time-cats-effect2
and effectie-cats-effect3-time
to effectie-time-cats-effect3
(#615 )
You can’t perform that action at this time.