Signal.opAssign

replace all previously assigned listeners with new one (if null passed, remove all listeners)

  1. void opAssign(slot_t listener)
    struct Signal(T1)
    final
    void
    opAssign
    if (
    is(T1 == interface) &&
    __traits(allMembers, T1).length == 1
    )
  2. void opAssign(T1 listener)

Meta