ledger-core
Public Member Functions | List of all members
ledger::core::api::CurrencyListCallback Class Referenceabstract

#include <CurrencyListCallback.hpp>

Public Member Functions

virtual void onCallback (const std::experimental::optional< std::vector< Currency >> &result, const std::experimental::optional< Error > &error)=0
 

Detailed Description

Callback triggered by main completed task, returning optional result as list of template type T.

Member Function Documentation

◆ onCallback()

virtual void ledger::core::api::CurrencyListCallback::onCallback ( const std::experimental::optional< std::vector< Currency >> &  result,
const std::experimental::optional< Error > &  error 
)
pure virtual

Method triggered when main task complete. result optional of type list<T>, non null if main task failed error optional of type Error, non null if main task succeeded


The documentation for this class was generated from the following file: