RestrictedSignal.disconnect

Disconnect a free function.

Preconditions: fn must not be null.

  1. void disconnect(ClassType obj)
  2. void disconnect(ClassType obj, void delegate(ClassType, T1) dg)
  3. void disconnect(ClassType obj)
  4. void disconnect(void function(Args) fn)
    struct RestrictedSignal(Args...)
    void
    disconnect
    @trusted
    (
    void function(
    Args
    )
    fn
    )
    in { assert (fn); }

Parameters

fn
Type: void function(
Args
)

The function to be disconnected.

Meta