Implement nextTicks.