atomicArray<T> function

AtomicArray<T> atomicArray<T>(
  1. Int size,
  2. T init(
    1. Int
    )
)

Creates a new AtomicArray of the given size, where each element is initialized by calling the given init function.

Implementation

external AtomicArray<T> atomicArray<T>(Int size, T Function(Int) init);