RestrictedSignal.disconnect

Disconnect a direct connection.

After issuing this call, methods of obj won't be triggered any longer when emit is called. Preconditions: Same as for direct connect.

  1. void disconnect(ClassType obj)
    struct RestrictedSignal(Args...)
    void
    disconnect
    @trusted
    (
    string method
    ClassType
    )
    (
    ClassType obj
    )
    if (
    is(ClassType == class) &&
    __traits(compiles, )
    )
    in { assert (obj); }
  2. void disconnect(ClassType obj, void delegate(ClassType, T1) dg)
  3. void disconnect(ClassType obj)

Meta