I think this might help you.
$Button.connect("pressed", self, "_on_button_pressed")
To make a signal with additional arguments, you would use the new Callable.bind():
Signals will now have their own class, and therefore their own methods. This includes the ability to emit signals through code:
Get all current connections:
Check if the signal is connected: