ZoneUnaryCallback<R, T> registerUnaryCallback<R, T>(R callback(T arg))

Registers the given callback in this zone.

Similar to registerCallback but with a unary callback.

Source

ZoneUnaryCallback<R, T> registerUnaryCallback<R, T>(R callback(T arg));