Signal.attach

Attaches a function to this signal. A function may be either attached or detached, so successive calls to attach for the same function will have no effect.

  1. void attach(SlotDg dg)
  2. void attach(SlotFn fn)
    struct Signal(Args...)
    void
    attach

Parameters

fn SlotFn

The function to attach.

Meta