File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Sources/Concurrency/Executor Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -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- func await( withTimeout timeout: TimeInterval ? ) throws -> SequenceResultType {
39+ public 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- func cancel( ) { }
44+ public func cancel( ) { }
4545}
4646
4747/// The execution of a sequence.
Original file line number Diff line number Diff line change @@ -41,6 +41,9 @@ public protocol Task {
4141// wildcard generics.
4242open class AbstractTask < ResultType> : Task {
4343
44+ /// Initializer.
45+ public init ( ) { }
46+
4447 /// Execute this task without any type information.
4548 ///
4649 /// - note: This method should only be used by internal executor
You can’t perform that action at this time.
0 commit comments