ZoneBinaryCallback registerBinaryCallback(dynamic callback(arg1, arg2))

Registers the given callback in this zone.

Similar to registerCallback but with a unary callback.

Source

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