arrow-fx-coroutines / arrow.fx.coroutines / Duration

Duration

data class ~~Duration~~ Deprecated: arrow.fx.coroutines.Duration is deprecated and will be removed in 0.13.0 in favor of kotlin.time.Duration

Constructors

<init> Duration(amount: Long, timeUnit: TimeUnit)

Properties

amount val amount: Long
millis val ~~millis~~: Long
nanoseconds val ~~nanoseconds~~: Long
timeUnit val timeUnit: TimeUnit

Functions

compareTo operator fun ~~compareTo~~(d: Duration): Int
plus operator fun ~~plus~~(d: Duration): Duration
times operator fun ~~times~~(i: Int): Duration

Companion Object Properties

INFINITE val ~~INFINITE~~: Duration

Do you like Arrow?

Arrow Org
<