YMFF/Sources/YMFFProtocols/FeatureFlagResolver/Store/AsyncFeatureFlagStoreProtoc...

20 lines
384 B
Swift

//
// AsyncFeatureFlagStoreProtocol.swift
// YMFFProtocols
//
// Created by Yakov Manshin on 9/29/22.
// Copyright © 2022 Yakov Manshin. See the LICENSE file for license info.
//
#if swift(>=5.5)
@available(iOS 13, *)
@available(macOS 10.15, *)
public protocol AsyncFeatureFlagStoreProtocol {
func value<Value>(forKey key: String) async throws -> Value
}
#endif