Make scene elements sendable
This commit is contained in:
parent
d6a8f180ef
commit
bd6c9d6f6b
@ -6,7 +6,7 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
/// A structure conforming to `SceneElement` can be added to an app's `scene` property.
|
/// A structure conforming to `SceneElement` can be added to an app's `scene` property.
|
||||||
public protocol SceneElement {
|
public protocol SceneElement: Sendable {
|
||||||
|
|
||||||
/// The window type's identifier.
|
/// The window type's identifier.
|
||||||
var id: String { get }
|
var id: String { get }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user