import AsyncAlgorithms
import ComposableArchitecture

/// Allows for the use of `AsyncChannel.send` in structured concurrency
/// Checks Statsig for availability
public extension AsyncChannel {
    func queue(_ value: Element) {
        Task {
            await self.send(value)
        }
    }
}
