@protocol.commands.add(u'noidle', list_command=False)
def noidle(context):
 if (not context.subscriptions):
  return
 context.subscriptions = set()
 context.events = set()
 context.session.prevent_timeout = False

@ protocol . commands . add ( u'noidle' , list_command = False ) def noidle ( context ) : if ( not context . subscriptions ) : return context . subscriptions = set ( ) context . events = set ( ) context . session . prevent_timeout = False
see :meth:_status_idle .