Skip to content

Commit 9380b16

Browse files
authored
Merge pull request #18 from skiptools/sendable
Alias Sendable to Any
2 parents c2cc2f6 + 009414a commit 9380b16

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)