bindUnaryCallback<R, T> abstract method
- R callback(
- T argument
Registers the provided callback
and returns a function that will
execute in this zone.
Equivalent to:
ZoneCallback registered = this.registerUnaryCallback(callback);
return (arg) => this.runUnary(registered, arg);
Implementation
ZoneUnaryCallback<R, T> bindUnaryCallback<R, T>(R callback(T argument));