Equivalent to:
ZoneCallback registered = this.registerCallback(action);
if (runGuarded) return () => this.runGuarded(registered);
return () => this.run(registered);
Source
ZoneCallback<R> bindCallback<R>( R action(), { bool runGuarded: true });