Skip to content

DispatchTimeInterval is not Sendable #787

Closed
@NachoSoto

Description

@NachoSoto

Description
For example:

Non-sendable type 'DispatchTimeInterval' passed in implicitly asynchronous call to main actor-isolated function cannot cross actor boundary

Is there a reason why DispatchTimeInterval shouldn't be marked as Sendable? It's an immutable value type.

Environment

  • Swift compiler version: 1.75.2 Apple Swift version 5.8 (swiftlang-5.8.0.124.2 clang-1403.0.22.11.100)
  • Xcode version: Xcode 14.3 (14E222b)

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions