Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrandonw committed Nov 4, 2024
1 parent 1b3db68 commit c0921b3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Sources/Dependencies/DependencyValues.swift
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,11 @@ import IssueReporting
public struct DependencyValues: Sendable {
@TaskLocal public static var _current = Self()
@TaskLocal static var currentDependency = CurrentDependency()
// @TaskLocal static var isPreparing = false
static var isPreparing: Bool { preparationID != nil }
@TaskLocal static var isSetting = false
@TaskLocal static var preparationID: UUID?
static var isPreparing: Bool {
preparationID != nil
}

@_spi(Internals)
public var cachedValues = CachedValues()
Expand Down

0 comments on commit c0921b3

Please sign in to comment.