@scalecube/api
Advanced tools
Comparing version
@@ -1,1 +0,1 @@ | ||
export { ServerTransportOptions, ClientTransportOptions, RequestHandler, Transport, ServerStop, ClientTransport, ServerTransport, TDestroy, TLogger, TDestroyOptions, } from './Transport'; | ||
export { ServerTransportOptions, ClientTransportOptions, Invoker, Transport, ServerStop, ClientTransport, ServerTransport, TDestroy, TLogger, TDestroyOptions, } from './Transport'; |
@@ -23,5 +23,5 @@ import { Address } from '../index'; | ||
* @property start | ||
* open connection to remote container and resolve with RequestHandler to call the remote container | ||
* open connection to remote container and resolve with Invoker to call the remote container | ||
*/ | ||
start: (options: ClientTransportOptions) => Promise<RequestHandler>; | ||
start: (options: ClientTransportOptions) => Promise<Invoker>; | ||
/** | ||
@@ -59,3 +59,3 @@ * @method destroy | ||
*/ | ||
serviceCall: RequestHandler; | ||
serviceCall: Invoker; | ||
/** | ||
@@ -68,5 +68,5 @@ * @method logger | ||
/** | ||
* @interface RequestHandler | ||
* @interface Invoker | ||
*/ | ||
export interface RequestHandler { | ||
export interface Invoker { | ||
/** | ||
@@ -73,0 +73,0 @@ * @method requestResponse |
{ | ||
"name": "@scalecube/api", | ||
"version": "0.2.10-snapshot.feature-cluster-refactor.1598302712", | ||
"version": "0.2.10-snapshot.feature-gateway-client-package.1620814254", | ||
"private": false, | ||
@@ -29,3 +29,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "590283ebb5b38b23c26347b105eb05febc93ae35" | ||
"gitHead": "6c066bb03fb788515062c35494f87d2b77e30101" | ||
} |
[](https://gitter.im/scalecube-js/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
> This is part of [scalecube-js](https://github.com/scalecube/scalecube-js) project, see more at <https://github.com/scalecube/scalecube-js> | ||
> [Full documentation](http://scalecube.io/javascript-docs) | ||
> [Full documentation](https://scalecube.github.io/javascript-docs) | ||
@@ -6,0 +6,0 @@ # API |
30927
-0.09%