def cooperate(iterator):
 return _theCooperator.cooperate(iterator)

def cooperate ( iterator ) : return _theCooperator . cooperate ( iterator )
start running the given iterator as a long-running cooperative task .