Nowish

lightdb.util.Nowish
object Nowish

Always returns an incremented timestamp. If called multiple times within the same millisecond, the returned value will be incremented to always be unique.

“Precision isn't always the goal. Uniqueness is, and good enough now is better than fighting the clock.”

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Nowish.type

Members list

Value members

Concrete methods

def apply(): Long