bindUnaryCallback<R, T> method
Null safety
- 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) => thin.runUnary(registered, arg);
Implementation
ZoneUnaryCallback<R, T> bindUnaryCallback<R, T>(R callback(T argument));