Laravel - Broadcasting - Leaving A Channel

To leave a channel, you may call the leaveChannel method on your Echo instance:

    
    Echo.leaveChannel(`orders.${this.order.id}`);
	

If you would like to leave a channel and also its associated private and presence channels, you may call the leave method:

    
    Echo.leave(`orders.${this.order.id}`);