From acd1740f0b44064a0df0e4eecb5340af35869f72 Mon Sep 17 00:00:00 2001 From: bdistin Date: Thu, 15 Mar 2018 00:52:23 -0500 Subject: [PATCH] docs: fix missing parameter type/description from #2193 (#2396) * docs: Fix missing parameter type/description from #2193 * requested changes --- src/sharding/ShardClientUtil.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sharding/ShardClientUtil.js b/src/sharding/ShardClientUtil.js index f4066717a..a73e61b94 100644 --- a/src/sharding/ShardClientUtil.js +++ b/src/sharding/ShardClientUtil.js @@ -79,8 +79,8 @@ class ShardClientUtil { } /** - * Evaluates a script on all shards, in the context of the {@link Clients}. - * @param {string} script JavaScript to run on each shard + * Evaluates a script or function on all shards, in the context of the {@link Clients}. + * @param {string|Function} script JavaScript to run on each shard * @returns {Promise>} Results of the script execution * @see {@link ShardingManager#broadcastEval} */