1 #ifndef KAGOME_OFFCHAIN_WORKER_POOL_HPP 2 #define KAGOME_OFFCHAIN_WORKER_POOL_HPP 11 virtual void addWorker(std::shared_ptr<OffchainWorker> ofw) = 0;
13 virtual std::optional<std::shared_ptr<OffchainWorker>>
getWorker()
virtual void addWorker(std::shared_ptr< OffchainWorker > ofw)=0
virtual ~OffchainWorkerPool()=default
virtual std::optional< std::shared_ptr< OffchainWorker > > getWorker() const =0
virtual bool removeWorker()=0