6 #ifndef KAGOME_RUNTIME_OFFCHAINWORKERAPIIMPL 7 #define KAGOME_RUNTIME_OFFCHAINWORKERAPIIMPL 12 class AppConfiguration;
15 class OffchainWorkerFactory;
24 std::enable_shared_from_this<OffchainWorkerApiImpl> {
28 std::shared_ptr<offchain::OffchainWorkerFactory> ocw_factory,
29 std::shared_ptr<Executor> executor);
31 outcome::result<void> offchain_worker(
43 #endif // KAGOME_RUNTIME_OFFCHAINWORKERAPIIMPL
std::shared_ptr< offchain::OffchainWorkerFactory > ocw_factory_
const application::AppConfiguration & app_config_
std::shared_ptr< Executor > executor_