Import std.concurrent.parallel
ParallelMap
function
Public Function ParallelMap<T, R>(items: T[], change: Sendable Func(T): R): R[]
A new array of what change makes of each item, in the items' order, made on the pool at
once.
Examples
Expect(ParallelMap([1, 2, 3], Function(n: Int) => n * n) == [1, 4, 9])Report an issue with this page or with FutureBlitz on GitHub.