W3cubDocs

/Dart 2

registerBinaryCallback<R, T1, T2> method

ZoneBinaryCallback<R, T1, T2> registerBinaryCallback <R, T1, T2>(R callback(T1 arg1, T2 arg2))

Registers the given callback in this zone.

Similar to registerCallback but with a unary callback.

Implementation

ZoneBinaryCallback<R, T1, T2> registerBinaryCallback<R, T1, T2>(
    R callback(T1 arg1, T2 arg2));

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-async/Zone/registerBinaryCallback.html