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
Now that #23 has landed it seems fit that we evaluate the _MultiCall type.
Afaict this class contains a single method execute() other then __init__ (and __repr__ but who uses it?) and that method was only necessary for the original recursive implementation.
I'm wondering can we simplify the whole thing into a simple function?
@nicoddemus right so this will be most easily pushed through once #59 is fully in which I'd expect won't be until the next minor or even major release.
if we alter the hook calller invocation pattern
We can also just have the _LegacyMultiCall calls to __init__ and execute wrapped inside a function which is mapped in the legacy case yah? The new function approach will still need all the arguments for both calls either way.
Now that #23 has landed it seems fit that we evaluate the
_MultiCall
type.Afaict this class contains a single method
execute()
other then__init__
(and__repr__
but who uses it?) and that method was only necessary for the original recursive implementation.I'm wondering can we simplify the whole thing into a simple function?
Reasons for:
_MultiCall
keeps no state since it's execute method is always called directly after instantiation_MultiCall
instances are never reusedThe text was updated successfully, but these errors were encountered: