From 27893896264aaff3252b808e877701db01d0dc78 Mon Sep 17 00:00:00 2001 From: Mark Johnson Date: Wed, 1 Jun 2022 13:37:07 -0400 Subject: [PATCH] Fixed comment. --- WorkflowConcurrency/Sources/Worker.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WorkflowConcurrency/Sources/Worker.swift b/WorkflowConcurrency/Sources/Worker.swift index f04ba4f12..201fb4452 100644 --- a/WorkflowConcurrency/Sources/Worker.swift +++ b/WorkflowConcurrency/Sources/Worker.swift @@ -30,7 +30,7 @@ public protocol Worker: AnyWorkflowConvertible where Rendering == Void { /// The type of output events returned by this worker. associatedtype Output - /// Returns a publisher to execute the work represented by this worker. + /// Execute the work represented by this worker asynchronously and return the result. func run() async -> Output /// Returns `true` if the other worker should be considered equivalent to `self`. Equivalence should take into /// account whatever data is meaningful to the task. For example, a worker that loads a user account from a server