rnStream

open override fun rnStream(i: Int): RNStreamIfc

Tells the provider to return the ith stream of the sequence of streams that it provides. If i is greater than lastRNStreamNumber() then lastRNStreamNumber() is advanced according to the additional number of streams. For example, if lastRNStreamNumber() = 10 and i = 15, then streams 11, 12, 13, 14, 15 are assumed provided and stream 15 is returned and lastRNStreamNumber() now equals 15. If i is less than or equal to lastRNStreamNumber(), then no new streams are created, lastRNStreamNumber() stays at its current value and the ith stream is returned.

Return

the ith RNStreamIfc provided in the sequence of streams

Parameters

i

the ith stream in the sequence of provided streams, must be 1, 2, 3 ...