jellyfin-web/dashboard-ui/thirdparty/apiclient/serverdiscovery.js
2015-02-16 22:49:47 -05:00

18 lines
421 B
JavaScript

(function (globalScope) {
globalScope.ServerDiscovery = {
findServers: function (timeoutMs) {
var deferred = DeferredBuilder.Deferred();
var servers = [];
// Expected server properties
// Name, Id, Address, EndpointAddress (optional)
deferred.resolveWith(null, [servers]);
return deferred.promise();
}
};
})(window);