registerUnaryCallback<R, T> abstract method Null safety

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

Registers the given callback in this zone.

Similar to registerCallback but with a unary callback.

Implementation

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