Make signal conform to sendable
This commit is contained in:
parent
bc03112d2d
commit
4b2127c55c
@ -8,7 +8,7 @@
|
||||
import Foundation
|
||||
|
||||
/// 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`.
|
||||
@State var boolean = false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user