Explain that connection is provided when call recurse into other methods.

This commit is contained in:
Mitar
2016-05-07 14:35:03 -07:00
parent 2d5ff2b2a2
commit c56dd51a5d

View File

@@ -51,7 +51,7 @@ DDPCommon.MethodInvocation = function (options) {
// On the server, the connection this method call came in on.
/**
* @summary Access inside a method invocation. The [connection](#meteor_onconnection) that this method was received on. `null` if the method is not associated with a connection, eg. a server initiated method call.
* @summary Access inside a method invocation. The [connection](#meteor_onconnection) that this method was received on. `null` if the method is not associated with a connection, eg. a server initiated method call. Calls to methods made from a server method which was in turn initiated from the client share the same `connection`.
* @locus Server
* @name connection
* @memberOf DDPCommon.MethodInvocation