Sonyflake.next_id

You're seeing just the function next_id, go back to Sonyflake module for more information.
Link to this function

next_id(sonyflake)

Specs

next_id(%Sonyflake{
  elapsed_time: integer(),
  machine_id: integer(),
  msb: any(),
  sequence: integer(),
  start_time: number()
}) ::
  {:ok,
   %Sonyflake{
     elapsed_time: integer(),
     machine_id: integer(),
     msb: any(),
     sequence: integer(),
     start_time: number()
   }, integer()}

Generates and returns the next unique ID.

Raises a TimeoutError after the SonyFlake time overflows.