ObjectWrap.connectSignalClosure
gulong connectSignalClosure(string signalDetail, DClosure closure, Flag!"After" after = No.After) nothrowConnect a D closure to an object signal.
Parameters
signalDetail | Signal name and optional detail separated by '::' |
closure | Closure to connect signal to |
after | Yes.After to invoke the signal after the default handler, No.After to execute before (default) |
Returns
The signal connection ID