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
Revert "Replace single callbacks with slices of function references"
This reverts commit d617dfb.
On Wed, Jun 03, 2015 at 01:54:03AM -0700, Juan Batiz-Benet wrote [1]:
> > it's probably worth passing an array of NodeCallback (and
> > PreNodeCallback) references to the adders
>
> i think this is way overkill. one can chain the calls with one
> function themselves. you might even provide a utility function that
> turns N callbacks into one which applies them sequentially, but this
> function should just accept one callback.
That's a much cleaner approach, so we're going back to the non-slice
callbacks.
[1]: #1291 (comment)
0 commit comments