File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Sources/Concurrency/Executor Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments