runHandler<R> method

R runHandler<R>(
  1. Zone self,
  2. ZoneDelegate parent,
  3. Zone zone,
  4. R f(
      )
    )

    runHandler Handler to profile runHandler zone events

    Implementation

    R runHandler<R>(Zone self, ZoneDelegate parent, Zone zone, R Function()f) {
      try {
        return parent.run(zone, f);
      } finally {
        _makeStackFrames(Trace.current(stackDepth));
      }
    }