start method

void start (String name, { Map arguments })

Start a synchronous operation within this task named name. Optionally takes a Map of arguments.

Implementation

void start(String name, {Map arguments}) {
  if (_isProduct) return;
  ArgumentError.checkNotNull(name, 'name');
  var block = new _AsyncBlock._(name, _taskId);
  if (arguments != null) {
    block._arguments = arguments;
  }
  _stack.add(block);
  block._start();
}