core / pragma.jobs / BackgroundManager / fireAndForgetAll /
fireAndForgetAll #
abstract fun <T> fireAndForgetAll(name: String, 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 #
name  | The name used in logging of errors  | 
collection  | The collection of elements to pass into the block to be executed.  | 
block  | Block of code to be executed in the background and receives the elements.  |