execute<R> method

R execute<R>(
  1. R fn()
)

Execute a function fn within this Context and return its result.

Implementation

R execute<R>(R Function() fn) => _zone.run(fn);