connect function
Connects to all strategies in parallel. Callback builder should be a function that takes two arguments: index and a list of runners. It should return another function that will be passed to the substrategy with given index. Runners can be aborted using abortRunner(s) functions from this class.
Implementation
@JS()
external connect(
List<Strategy> strategies, num minPriority, Function callbackBuilder);