Add support of asynchronous and parallel foreach