commonMain.com.adamratzman.spotify.utils.Concurrency.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spotify-api-kotlin-jvm Show documentation
Show all versions of spotify-api-kotlin-jvm Show documentation
A Kotlin wrapper for the Spotify Web API.
/* Spotify Web API, Kotlin Wrapper; MIT License, 2017-2021; Original author: Adam Ratzman */
package com.adamratzman.spotify.utils
/**
* Represents a unit of time
*/
public expect enum class TimeUnit {
MILLISECONDS, SECONDS;
public fun toMillis(duration: Long): Long
}