Class CallOptions

java.lang.Object
services.moleculer.context.CallOptions

public class CallOptions extends Object
Calling options (timeout, target nodeID, number of retries). Usage:
broker.call("math.add", "a", 3, "b", 5,
  CallOptions.nodeID("node-2")).then(in -> {
  ...
});
You can enumerate options in builder style:
CallOptions.nodeID("node-2").timeout(500).retryCount(3);