Skip to content

oolong / oolong.random / nextULong

nextULong

(common) @ExperimentalUnsignedTypes fun <Msg :Any> nextULong(msg: suspend CoroutineScope.(ULong) -> Msg):Effect<Msg> (source) @ExperimentalUnsignedTypes fun <Msg :Any> nextULong(until:ULong, msg: suspend CoroutineScope.(ULong) -> Msg):Effect<Msg> (source) @ExperimentalUnsignedTypes fun <Msg :Any> nextULong(from:ULong, until:ULong, msg: suspend CoroutineScope.(ULong) -> Msg):Effect<Msg> (source) @ExperimentalUnsignedTypes fun <Msg :Any> nextULong(range:ULongRange, msg: suspend CoroutineScope.(ULong) -> Msg):Effect<Msg> (source)

Call Random.nextULong with a mapping of ULong to Msg.

Parameters

msg - map function of ULong to Msg

Return Effect of Msg for the generated ULong