lib/bundle.js
/**
 * Remove all connections where the given object is the sender.
 *
 * @param sender - The sender object of interest.
 *
 * #### Example
 * ```typescript
 * disconnectSender(someObject);
 * ```
 */
Remove all connections where the given object is the sender.
@param sender - The sender object of interest.


Remove all connections where the given object is the sender . @param sender - The sender object of interest .
function disconnectSender(sender) {
    var list = senderMap.get(sender);
    if (!list) {
        return;
    }
    var conn = list.first;
    while (conn !== null) {
        removeFromSendersList(conn);
        conn.callback = null;
        conn.thisArg = null;
        conn = conn.nextReceiver;
    }
    senderMap.delete(sender);
}
function disconnectSender ( sender ) { var list = senderMap . get ( sender ) ; if ( ! list ) { return ; } var conn = list . first ; while ( conn !== null ) { removeFromSendersList ( conn ) ; conn . callback = null ; conn . thisArg = null ; conn = conn . nextReceiver ; } senderMap . delete ( sender ) ; }
Remove all connections where the given object is the sender.
Remove all connections where the given object is the sender .