SelectorExecutor constructor

SelectorExecutor(
  1. Future<IPLDNode> _loadNode(
    1. CID
    ), {
  2. int maxDepth = defaultSelectorMaxDepth,
  3. int maxNodes = defaultSelectorMaxNodes,
  4. bool includePath = false,
})

Creates an executor with the given budgets and loader.

Implementation

SelectorExecutor(
  this._loadNode, {
  this.maxDepth = defaultSelectorMaxDepth,
  this.maxNodes = defaultSelectorMaxNodes,
  this.includePath = false,
});