Make signal conform to sendable

This commit is contained in:
david-swift 2024-09-19 12:51:04 +02:00
parent bc03112d2d
commit 4b2127c55c

View File

@ -8,7 +8,7 @@
import Foundation import Foundation
/// A type that signalizes an action. /// A type that signalizes an action.
public struct Signal { public struct Signal: Sendable {
/// An action is signalized by toggling a boolean to `true` and back to `false`. /// An action is signalized by toggling a boolean to `true` and back to `false`.
@State var boolean = false @State var boolean = false