Skip to content

Commit

Permalink
Fix a couple typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
greg7mdp committed Apr 6, 2023
1 parent 1d039b6 commit 74575d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libraries/chain/include/eosio/chain/types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -397,10 +397,11 @@ namespace eosio::chain {
template<class... Ts> overloaded(Ts...) -> overloaded<Ts...>;

// next_function is a function passed to an API (like send_transaction) and which is called at the end of
// the API processing on the main thread. The type T is a description for the API result.
// the API processing on the main thread. The type T is a description of the API result that can be
// serialized as output.
// The function accepts a variant which can contain an exception_ptr (if an exception occured while
// processing the API) of the result T.
// The last option is a function which can be executed in a multithreaded context (likely on the
// processing the API) or the result T.
// The third option is a function which can be executed in a multithreaded context (likely on the
// http_plugin thread pool) and which completes the API processing and returns the result T.
// -------------------------------------------------------------------------------------------------------
template<typename T>
Expand All @@ -409,7 +410,6 @@ namespace eosio::chain {
template<typename T>
using next_function = std::function<void(const next_function_variant<T>&)>;


} // eosio::chain

namespace chainbase {
Expand Down

0 comments on commit 74575d3

Please sign in to comment.