// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once #include namespace proton { template class IResultHandler { public: virtual ~IResultHandler() = default; virtual void handle(ResultType result) = 0; }; using IBucketIdListResultHandler = IResultHandler; using IBucketInfoResultHandler = IResultHandler; using IGenericResultHandler = IResultHandler; } // namespace proton