Implemented set iterator with channels.