Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Overloading connect with factory #279
I had actually considered this before doing the
That said, this is the cleanest implementation I could come up with. It checks if the argument in question has
This breaks a few tests, but nothing critical - only on some spies or guarantees an arity-0 function is called a certain amount of times. I can clean those up if this looks alright otherwise.