Instance Methodpointfreeco.swift-dependencies 1.6.2Dependencies
callAsFunction
UUID.swift:110func callAsFunction() -> UUID
func callAsFunction() -> UUID
s12Dependencies13UUIDGeneratorV14callAsFunction10Foundation4UUIDVyF
What are these?6EHWD
import Dependencies
A dependency management library inspired by SwiftUI’s “environment.”
struct UUIDGenerator
A dependency that generates a UUID.
init(_ generate: @escaping () -> UUID)
Initializes a UUID generator that generates a UUID from a closure.
static var incrementing: `Self` { get }
A generator that generates UUIDs in incrementing order.
static func constant(_ uuid: UUID) -> UUIDGenerator
A generator that returns a constant UUID.