# instant method

void instant (String name, { Map arguments })

Emit an instant event for this task.

## Implementation

    void instant(String name, {Map arguments}) {
      if (_isProduct) return;
      ArgumentError.checkNotNull(name, 'name');
      Map instantArguments;
      if (arguments != null) {
        instantArguments = new Map.from(arguments);
      }
      _reportTaskEvent(_getTraceClock(), _taskId, 'n', 'Dart', name,
          _argumentsAsJson(instantArguments));
    }