init(_:)

Initializes a UUID generator that generates a UUID from a closure.

UUID.swift:106
init(_ generate: @escaping () -> UUID)

Parameters

generate

A closure that returns the current date when called.