Skip to content

Commit 6ed4572

Browse files
committed
Document for Xcode
1 parent be750bd commit 6ed4572

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

ReactiveTask/Task.swift

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -430,11 +430,12 @@ extension Signal where Value: TaskEventType {
430430

431431
/// Launches a new shell task.
432432
///
433-
/// taskDescription - The task to launch.
434-
/// standardInput - Data to stream to standard input of the launched process. If nil, stdin will
435-
/// be inherited from the parent process.
433+
/// - Parameters:
434+
/// - taskDescription: The task to launch.
435+
/// - standardInput: Data to stream to standard input of the launched process. If nil, stdin will
436+
/// be inherited from the parent process.
436437
///
437-
/// Returns a producer that will launch the task when started, then send
438+
/// - Returns: A producer that will launch the task when started, then send
438439
/// `TaskEvent`s as execution proceeds.
439440
public func launchTask(taskDescription: Task, standardInput: SignalProducer<NSData, NoError>? = nil) -> SignalProducer<TaskEvent<NSData>, TaskError> {
440441
return SignalProducer { observer, disposable in

0 commit comments

Comments
 (0)