Files
steipete--codexbar/Sources/CodexBarCore/Providers/ProviderInteractionContext.swift
T
2026-07-13 12:22:33 +08:00

20 lines
446 B
Swift

import Foundation
public enum ProviderInteraction: Sendable, Equatable {
case background
case userInitiated
}
public enum ProviderInteractionContext {
@TaskLocal public static var current: ProviderInteraction = .background
}
public enum ProviderRefreshPhase: Sendable, Equatable {
case regular
case startup
}
public enum ProviderRefreshContext {
@TaskLocal public static var current: ProviderRefreshPhase = .regular
}