core / / BackgroundManager / fireAndForgetAll /

fireAndForgetAll #

abstract fun <T> fireAndForgetAll(collection: Collection<T>, block: suspend (T) -> Unit)

Runs the block of code in the background once for each element in the collection, passing in the element as a parameter to the block.

Parameters #


The collection of elements to pass into the block to be executed.


Block of code to be executed in the background and receives the elements.