every

infix fun Int.every(delay: Int): Array<Int>

Will create an sequence of times starting fromevery times. For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

See also


infix fun every(delay: Int): Array<Int>

Shortcut for "from 0 every"

Sources

Link copied to clipboard
Link copied to clipboard