@scalecube/api
Advanced tools
Comparing version 0.0.2-alpha.8 to 0.0.2-alpha.9
import { Observable } from 'rxjs'; | ||
import { Item, ServiceDiscoveryEvent } from '.'; | ||
import { Address } from '../common'; | ||
import { Cluster, ClusterOptions } from '../cluster'; | ||
/** | ||
@@ -31,2 +32,9 @@ * @interface CreateDiscovery | ||
/** | ||
* @method | ||
* Pluggable cluster, | ||
* a module that implements Cluster API | ||
* cluster responsible to bootstrap the distributed env. | ||
*/ | ||
cluster?: (opt: ClusterOptions) => Cluster; | ||
/** | ||
* @property | ||
@@ -33,0 +41,0 @@ * enable discovery console.logs |
import { Address } from '../index'; | ||
import { Discovery, DiscoveryOptions } from '../discovery'; | ||
import { Cluster, ClusterOptions } from '../cluster'; | ||
import { CreateProxies, CreateProxy, CreateServiceCall, Service } from '.'; | ||
@@ -69,7 +69,7 @@ /** | ||
* @method | ||
* Pluggable discovery, | ||
* a module that implements discovery API | ||
* discovery responsible to exchange data in the distributed env. | ||
* Pluggable cluster, | ||
* a module that implements Cluster API | ||
* cluster responsible to bootstrap the distributed env. | ||
*/ | ||
discovery?: (opt: DiscoveryOptions) => Discovery; | ||
cluster?: (opt: ClusterOptions) => Cluster; | ||
/** | ||
@@ -76,0 +76,0 @@ * @property |
import { Observable } from 'rxjs'; | ||
import { Item, ServiceDiscoveryEvent } from '.'; | ||
import { Address } from '../common'; | ||
import { Cluster, ClusterOptions } from '../cluster'; | ||
/** | ||
@@ -31,2 +32,9 @@ * @interface CreateDiscovery | ||
/** | ||
* @method | ||
* Pluggable cluster, | ||
* a module that implements Cluster API | ||
* cluster responsible to bootstrap the distributed env. | ||
*/ | ||
cluster?: (opt: ClusterOptions) => Cluster; | ||
/** | ||
* @property | ||
@@ -33,0 +41,0 @@ * enable discovery console.logs |
import { Address } from '../index'; | ||
import { Discovery, DiscoveryOptions } from '../discovery'; | ||
import { Cluster, ClusterOptions } from '../cluster'; | ||
import { CreateProxies, CreateProxy, CreateServiceCall, Service } from '.'; | ||
@@ -69,7 +69,7 @@ /** | ||
* @method | ||
* Pluggable discovery, | ||
* a module that implements discovery API | ||
* discovery responsible to exchange data in the distributed env. | ||
* Pluggable cluster, | ||
* a module that implements Cluster API | ||
* cluster responsible to bootstrap the distributed env. | ||
*/ | ||
discovery?: (opt: DiscoveryOptions) => Discovery; | ||
cluster?: (opt: ClusterOptions) => Cluster; | ||
/** | ||
@@ -76,0 +76,0 @@ * @property |
{ | ||
"name": "@scalecube/api", | ||
"version": "0.0.2-alpha.8", | ||
"version": "0.0.2-alpha.9", | ||
"private": false, | ||
@@ -32,3 +32,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "e2f5e84083dbfd8a5c15f465c191335dc539472b" | ||
"gitHead": "059dbc5d4f785e0492ad49f6e6ac0f4f69509962" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
54064
1375