Skip to content

Expand

Name - Description Default Type
<input> Any
<output> [Any]
Size The expansion size. 10 Int
Wire The wire to spawn and try to run many times concurrently. None WireString
Policy The execution policy in terms of wires success. WaitUntil.AllSuccess WaitUntil
Threads The number of cpu threads to use. 0 Int

Examples

1
2
3
4
5
6
21
(Expand
 :Size 10
 :Wire (defwire wide-test (Math.Multiply 2))
 :Threads 5)
(Assert.Is [42 42 42 42 42 42 42 42 42 42] true)