1.7.1.14 precondition(L, ChunkSize)

-spec precondition([t()],
                   pos_integer() | infinity) -> boolean().

Equivalent to precondition(L), but takes an additional parameter ChunkSize that sets the maximum number of parallel tasks spawned to satisfy the conditions in L.

Note: any sub-tasks spawned by the preconditions themselves are not accounted for.

JavaScript license information