Skip to content

Commit

Permalink
mark AnalyticsClient as Sendable
Browse files Browse the repository at this point in the history
  • Loading branch information
rurza committed May 10, 2024
1 parent 2385295 commit 3df3ecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BatFiKit/Sources/Clients/AnalyticsClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public enum BreadcrumbCategory: String {
}

@DependencyClient
public struct AnalyticsClient {
public struct AnalyticsClient: Sendable {
public var startSDK: @Sendable () async -> Void = { }
public var captureMessage: @Sendable (_ message: String) async -> Void = { _ in }
public var captureError: @Sendable (_ error: Error) async -> Void = { _ in }
Expand Down

0 comments on commit 3df3ecd

Please sign in to comment.