NanoflakeGenerator

interface NanoflakeGenerator

A generator of nanoflakes.

Functions

epoch
Link copied to clipboard
common
open fun NanoflakeGenerator.epoch(): DateTime
Gets this nanoflake generator's epoch as an OffsetDateTime.
epochMillis
Link copied to clipboard
common
abstract fun epochMillis(): Long
Gets this nanoflake generator's epoch.
next
Link copied to clipboard
common
abstract operator fun next(): Nanoflake
Gets the next nanoflake.

Inheritors

NanoflakeLocalGenerator
Link copied to clipboard