class Async::List::Iterator
def move_next
def move_next # Move to the next item (which could be an iterator or the end): @tail.head = @head @head.tail = @tail @head = @tail @tail = @tail.tail @head.tail = self @tail.head = self end
def move_next # Move to the next item (which could be an iterator or the end): @tail.head = @head @head.tail = @tail @head = @tail @tail = @tail.tail @head.tail = self @tail.head = self end