Skip to content

Commit 009414a

Browse files
committed
Alias Sendable to Any
1 parent c2cc2f6 commit 009414a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Sources/SkipLib/Skip/Concurrency.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -497,9 +497,8 @@ class Async {
497497
}
498498
}
499499

500-
/// Kotlin representation of `Swift.Sendable`.
501-
interface Sendable {
502-
}
500+
/// Allow use of `Swift.Sendable`.
501+
typealias Sendable = Any
503502

504503
/// Kotlin representation of `Swift.CancellationError` when a `Task` is cancelled.
505504
class CancellationError(cause: Throwable? = null): Exception(cause), Error {

0 commit comments

Comments
 (0)