cleaned code for returning DelayedEnumerator, containing List and ListAsync