Use this method if you want to connect directly to an object's
method matching the signature of this signal. The connection
will have weak reference semantics, meaning if you drop all
references to the object the garbage collector will collect it
and this connection will be removed.
Preconditions: obj must not be null. mixin("&obj."~method)
must be valid and compatible.
Direct connection to an object.
Use this method if you want to connect directly to an object's method matching the signature of this signal. The connection will have weak reference semantics, meaning if you drop all references to the object the garbage collector will collect it and this connection will be removed.
Preconditions: obj must not be null. mixin("&obj."~method) must be valid and compatible.