RestrictedSignal.disconnect

Disconnect all connections to obj.

All connections to obj made with calls to connect are removed.

  1. void disconnect(ClassType obj)
  2. void disconnect(ClassType obj, void delegate(ClassType, T1) dg)
  3. void disconnect(ClassType obj)
    struct RestrictedSignal(Args...)
    @trusted
    void
    disconnect
    (
    ClassType
    )
    (
    ClassType obj
    )
    if (
    is(ClassType == class)
    )

Meta