You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We considered it being <String, Action> but that is also awkward as it's not a real functional interface.
Also because of type erasure extension methods aren't super helpful here as Map<String, Action> collides with Map<String, Closure>
thrownewRuntimeException("callbacks map can not be null");
256
-
}
257
-
Object_onNext = callbacks.get("onNext");
258
-
if (_onNext == null) {
259
-
thrownewRuntimeException("'onNext' key must contain an implementation");
260
-
}
261
-
// lookup and memoize onNext
262
-
finalFuncNonNext = Functions.from(_onNext);
263
-
264
-
/**
265
-
* Wrapping since raw functions provided by the user are being invoked.
266
-
*
267
-
* See https://github.com/Netflix/RxJava/issues/216 for discussion on "Guideline 6.4: Protect calls to user code from within an operator"
0 commit comments