consul/ui/packages/consul-ui/app/services/data-source/protocols/http/promise.js

9 lines
217 B
JavaScript

import Service from '@ember/service';
import { once } from 'consul-ui/utils/dom/event-source';
export default Service.extend({
source: function(find, configuration) {
return once(find, configuration);
},
});