Skip to content

Commit

Permalink
Add Sendable conformance
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Jan 11, 2025
1 parent 4754fe9 commit 28c1a5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/GATT/AsyncStream.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import Foundation
import Bluetooth

@available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
public struct AsyncCentralScan <Central: CentralManager>: AsyncSequence {
public struct AsyncCentralScan <Central: CentralManager>: AsyncSequence, Sendable {

public typealias Element = ScanData<Central.Peripheral, Central.Advertisement>

Expand Down Expand Up @@ -57,7 +57,7 @@ public extension AsyncCentralScan {
}

@available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
public struct AsyncCentralNotifications <Central: CentralManager>: AsyncSequence {
public struct AsyncCentralNotifications <Central: CentralManager>: AsyncSequence, Sendable {

public typealias Element = Central.Data

Expand Down

0 comments on commit 28c1a5d

Please sign in to comment.