Skip to content

Commit ca5bedb

Browse files
committed
Fix SequenceExecutionHandle accessibility
1 parent 42b678b commit ca5bedb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/Concurrency/Executor/SequenceExecutor.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public enum SequenceExecutionError: Error {
2626
/// and monitoring of the said sequence of tasks.
2727
// This cannot be a protocol, since `SequenceExecutor` references this as a
2828
// type. Protocols with associatedType cannot be directly used as types.
29-
public class SequenceExecutionHandle<SequenceResultType> {
29+
open class SequenceExecutionHandle<SequenceResultType> {
3030

3131
/// Block the caller thread until the sequence of tasks all finished
3232
/// execution or the specified timeout period has elapsed.
@@ -36,12 +36,12 @@ public class SequenceExecutionHandle<SequenceResultType> {
3636
/// completes.
3737
/// - throws: `SequenceExecutionError.awaitTimeout` if the given timeout
3838
/// period elapsed before the sequence execution completed.
39-
public func await(withTimeout timeout: TimeInterval?) throws -> SequenceResultType {
39+
open func await(withTimeout timeout: TimeInterval?) throws -> SequenceResultType {
4040
fatalError("await not yet implemented.")
4141
}
4242

4343
/// Cancel the sequence execution at the point this function is invoked.
44-
public func cancel() {}
44+
open func cancel() {}
4545
}
4646

4747
/// The execution of a sequence.

0 commit comments

Comments
 (0)