LoopDuration

eu.joaocosta.minart.runtime.LoopFrequency.LoopDuration
final case class LoopDuration(nanos: Long) extends LoopFrequency

Frequency defined by duration.

Value parameters

nanos

duration in nanoseconds

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Returns the duration of each loop interval

Returns the duration of each loop interval

Attributes

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Concrete fields

val millis: Long