Skip to content

Commit

Permalink
Add Sendable attribute to ValueProducer.
Browse files Browse the repository at this point in the history
  • Loading branch information
sgade committed Dec 10, 2021
1 parent a5b2814 commit 279167c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/InFlightValue/InFlightValueProvider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
public actor InFlightValueProvider<Value> {

/// Provides a `Value` or throws an `Error`.
public typealias ValueProducer = () async throws -> Value
public typealias ValueProducer = @Sendable () async throws -> Value

private var producer: ValueProducer
/// A possible in-flight call. `nil` if not awaiting any calls currently.
Expand Down

0 comments on commit 279167c

Please sign in to comment.