Skip to content

Expand

Name - Description Default Type
<input> Any
<output> [ Any ]
Size The maximum expansion size. 10 Int
Wire The wire to spawn and try to run many times concurrently. None WireString&Wire
Policy The execution policy in terms of wires success. WaitUntil.AllSuccess WaitUntil
Threads The number of cpu threads to use. 1 Int
Coroutines The number of coroutines to run on each thread. 1 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)