File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/com/uber/cadence/workflow Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 162
162
* <p>To convert a synchronous call
163
163
*
164
164
* <pre><code>
165
- * String localName = activities.download(surceBucket , sourceFile);
165
+ * String localName = activities.download(sourceBucket , sourceFile);
166
166
* </code></pre>
167
167
*
168
168
* to asynchronous style, the method reference is passed to {@link Async#function(Func)} or {@link
169
169
* Async#procedure(Proc)} followed by activity arguments:
170
170
*
171
171
* <pre><code>
172
- * Promise<String> localNamePromise = Async.function(activities::download, surceBucket , sourceFile);
172
+ * Promise<String> localNamePromise = Async.function(activities::download, sourceBucket , sourceFile);
173
173
* </code></pre>
174
174
*
175
175
* Then to wait synchronously for the result:
You can’t perform that action at this time.
0 commit comments