diff --git a/Sources/SafeDI/LazyForwardingInstantiator.swift b/Sources/SafeDI/LazyForwardingInstantiator.swift index e54587ed..07a0d589 100644 --- a/Sources/SafeDI/LazyForwardingInstantiator.swift +++ b/Sources/SafeDI/LazyForwardingInstantiator.swift @@ -22,6 +22,7 @@ /// `@Forwarded` properties. This class enables instantiation with specific arguments, facilitating /// the inheritance of these arguments by `@Instantiable` types that are `@Instantiated` within /// the `InstantiableType`, as well as by all types `@Instantiated` downstream. +/// Instantiation is thread-safe. /// /// - SeeAlso: `LazyInstantiator` /// - Note: This class is the sole means for instantiating an `@Instantiable` type with `@Forwarded` diff --git a/Sources/SafeDI/LazyInstantiated.swift b/Sources/SafeDI/LazyInstantiated.swift index f62d3036..ce241187 100644 --- a/Sources/SafeDI/LazyInstantiated.swift +++ b/Sources/SafeDI/LazyInstantiated.swift @@ -20,7 +20,7 @@ import Foundation -/// Marks a SafeDI dependency that is instantiated on first access. +/// Marks a SafeDI dependency that is instantiated on first access. Thread-safe. @propertyWrapper public final class LazyInstantiated { // MARK: Initialization diff --git a/Sources/SafeDI/LazyInstantiator.swift b/Sources/SafeDI/LazyInstantiator.swift index 301276a3..92a1d052 100644 --- a/Sources/SafeDI/LazyInstantiator.swift +++ b/Sources/SafeDI/LazyInstantiator.swift @@ -21,7 +21,7 @@ /// A SafeDI dependency responsible for the lazy instantiation of an `@Instantiable` type. /// This class facilitates the delayed creation of an `@Instantiable` instance, making it particularly /// useful in scenarios where immediate instantiation is not necessary or desirable. `LazyInstantiator` -/// facilitates control over memory usage and enables just-in-time instantiation. +/// facilitates control over memory usage and enables just-in-time instantiation. Instantiation is thread-safe. /// /// - SeeAlso: `LazyForwardingInstantiator` public final class LazyInstantiator {