bseal/uuid48

generate a 48 bit number uuid nodeid (4 bit): 0 - 15 time (30 bit): 34 years index (14 bit): 0 - 16383

Types

pub type Message {
  Generate(client: Subject(String))
}

Constructors

  • Generate(client: Subject(String))
pub type UUID48 =
  Subject(Message)

Functions

pub fn start(
  nodeid: Int,
  epoch: Int,
) -> Result(Subject(Message), StartError)
pub fn string(service: Subject(Message)) -> String
Search Document