mirror of
https://github.com/github/codeql.git
synced 2026-05-01 19:55:15 +02:00
Remove non-ASCII characters from Promise.java
Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com>
This commit is contained in:
@@ -27,7 +27,7 @@ import ratpack.exec.registry.Registry;
|
||||
* <h3>Non blocking/Asynchronous</h3>
|
||||
* <p>
|
||||
* Handlers are expected to be asynchronous.
|
||||
* That is, there is no expectation that the handler is “finished" when its {@link #handle(Context)} method returns.
|
||||
* That is, there is no expectation that the handler is "finished" when its {@link #handle(Context)} method returns.
|
||||
* This facilitates the use of non blocking IO without needing to enter some kind of special mode.
|
||||
* An implication is that handlers <b>must</b> ensure that they either send a response or delegate to another handler.
|
||||
* </p>
|
||||
|
||||
@@ -25,7 +25,7 @@ import ratpack.func.Predicate;
|
||||
* A promise for a single value.
|
||||
* <p>
|
||||
* A promise is a representation of a value which will become available later.
|
||||
* Methods such as {@link #map(Function)}, {@link #flatMap(Function)}, {@link #cache()} etc.) allow a pipeline of “operations" to be specified,
|
||||
* Methods such as {@link #map(Function)}, {@link #flatMap(Function)}, {@link #cache()} etc.) allow a pipeline of "operations" to be specified,
|
||||
* that the value will travel through as it becomes available.
|
||||
* Such operations are implemented via the {@link #transform(Function)} method.
|
||||
* Each operation returns a new promise object, not the original promise object.
|
||||
|
||||
Reference in New Issue
Block a user