Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Sources/Concurrency/Executor/SequenceExecutor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ public class SequenceExecutionHandle<SequenceResultType> {
/// completes.
/// - throws: `SequenceExecutionError.awaitTimeout` if the given timeout
/// period elapsed before the sequence execution completed.
func await(withTimeout timeout: TimeInterval?) throws -> SequenceResultType {
public func await(withTimeout timeout: TimeInterval?) throws -> SequenceResultType {
fatalError("await not yet implemented.")
}

/// Cancel the sequence execution at the point this function is invoked.
func cancel() {}
public func cancel() {}
}

/// The execution of a sequence.
Expand Down
3 changes: 3 additions & 0 deletions Sources/Concurrency/Executor/Task.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ public protocol Task {
// wildcard generics.
open class AbstractTask<ResultType>: Task {

/// Initializer.
public init() {}

/// Execute this task without any type information.
///
/// - note: This method should only be used by internal executor
Expand Down