blob: b970fe4eeb42b307c124938cf0fc60d6316fd53a [file] [log] [blame]
// Copyright 2016 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.modular;
// Administrative interface for Suggestion Engine.
[Discoverable]
protocol SuggestionEngine {
// Registers a component that produces suggestions.
RegisterProposalPublisher(string url, request<ProposalPublisher> publisher);
// Registers a component that produces suggestions based on a query.
RegisterQueryHandler(string url, QueryHandler query_handler);
};