(self, callback=None)
Logout a user

        Keyword Arguments:
        callback - callback function called when the user has been logged out
Logout a user
Logout a user
def logout(self, callback=None):
        """Logout a user

        Keyword Arguments:
        callback - callback function called when the user has been logged out"""
        self.ddp_client.call('logout', [], callback=callback)
        self.emit('logged_out')
def logout ( self , callback = None ) : self . ddp_client . call ( 'logout' , [ ] , callback = callback ) self . emit ( 'logged_out' )