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

Use kotlin.time API #1697

Closed
wants to merge 1 commit into from
Closed

Use kotlin.time API #1697

wants to merge 1 commit into from

Conversation

pubiqq
Copy link

@pubiqq pubiqq commented Nov 10, 2023

Kotlin Time API is now stable, so it's time to replace the self-made time API with it.

KoinPlatformTimeTools and other parts of "koin time API" have been marked as deprecated and hopefully they will be removed in the future, as they shouldn't have been part of the public API.

Copy link
Contributor

@pedrofsn pedrofsn left a comment

Choose a reason for hiding this comment

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

I just looked the code in github code review tool. To me it's okay. But I think @arnaudgiuliani need to double check it. ;)

@OptIn(KoinExperimentalAPI::class)
fun runScenario(index: Int): Pair<Double, Double> {
val (app, duration) = measureDurationForResult {
// @OptIn(KoinExperimentalAPI::class)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// @OptIn(KoinExperimentalAPI::class)

@pubiqq
Copy link
Author

pubiqq commented Jan 23, 2024

Bump

Copy link

stale bot commented Jun 28, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the status:wontfix label Jun 28, 2024
@stale stale bot closed this Jul 6, 2024
@pubiqq pubiqq mentioned this pull request Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants