run<R> abstract method
- Raction()
Executesaction in this zone.
By default (as implemented in theroot zone), runsactionwithcurrent set to this zone.
Ifaction throws, the synchronous exception is not caught by the zone'serror handler. UserunGuarded to achieve that.
Since the root zone is the only zone that can modify the value ofcurrent, custom zones intercepting run should always delegate to theirparent zone. They may take actions before and after the call.
Implementation
R run<R>(R action());