mirror of https://github.com/grpc/grpc-node.git
Merge pull request #1090 from imjoey/fix_doc_of_waitForReady
doc: Change the default value of waitForReady argument
This commit is contained in:
commit
7f73566b5c
|
@ -66,7 +66,7 @@ export interface MetadataOptions {
|
|||
/* Signal that the request is idempotent. Defaults to false */
|
||||
idempotentRequest?: boolean;
|
||||
/* Signal that the call should not return UNAVAILABLE before it has
|
||||
* started. Defaults to true. */
|
||||
* started. Defaults to false. */
|
||||
waitForReady?: boolean;
|
||||
/* Signal that the call is cacheable. GRPC is free to use GET verb.
|
||||
* Defaults to false */
|
||||
|
|
|
@ -554,7 +554,7 @@ declare module "grpc" {
|
|||
/* Signal that the request is idempotent. Defaults to false */
|
||||
idempotentRequest?: boolean;
|
||||
/* Signal that the call should not return UNAVAILABLE before it has
|
||||
* started. Defaults to true. */
|
||||
* started. Defaults to false. */
|
||||
waitForReady?: boolean;
|
||||
/* Signal that the call is cacheable. GRPC is free to use GET verb.
|
||||
* Defaults to false */
|
||||
|
|
|
@ -37,7 +37,7 @@ const CORKED_FLAG = 0x100;
|
|||
* a client request.
|
||||
* @param {boolean=} [options.idempotentRequest=false] Signal that the request
|
||||
* is idempotent
|
||||
* @param {boolean=} [options.waitForReady=true] Signal that the call should
|
||||
* @param {boolean=} [options.waitForReady=false] Signal that the call should
|
||||
* not return UNAVAILABLE before it has started.
|
||||
* @param {boolean=} [options.cacheableRequest=false] Signal that the call is
|
||||
* cacheable. GRPC is free to use GET verb.
|
||||
|
@ -170,7 +170,7 @@ Metadata.prototype.clone = function() {
|
|||
* a client request.
|
||||
* @param {boolean=} [options.idempotentRequest=false] Signal that the request
|
||||
* is idempotent
|
||||
* @param {boolean=} [options.waitForReady=true] Signal that the call should
|
||||
* @param {boolean=} [options.waitForReady=false] Signal that the call should
|
||||
* not return UNAVAILABLE before it has started.
|
||||
* @param {boolean=} [options.cacheableRequest=false] Signal that the call is
|
||||
* cacheable. GRPC is free to use GET verb.
|
||||
|
|
Loading…
Reference in New Issue