Function repeatAsync

Generates a sequence that contains one repeated value.