Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yosriayed authored Apr 26, 2024
1 parent 601fb52 commit c31be25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ CppParallelEase (or cplease) is a C++ header-only library that tries to provide
## <a id="future_promise"></a> future/promise

The pair of `plz::future` and `plz::promise` classes are similiar to `std::promise`
and `std::future`. They provide a mechanism to to access the result of asynchronous operations.
and `std::future`. They provide a mechanism to to access the result of asynchronous operations. However, `plz::future` additionally enables setting up callbacks for both successful results and failures.

The creator of the promise class can set a value
using the `set_result()` or set an exception of any type using `set_exception()`. The
Expand Down

0 comments on commit c31be25

Please sign in to comment.