parallel-filter ( seq quot: ( elt -- ? ) -- newseq )
Concurrent combinators

Prev:2parallel-map ( seq1 seq2 quot: ( elt1 elt2 -- newelt ) -- newseq )
Next:parallel-product-each ( seq quot: ( elt -- ) -- )


Vocabulary
concurrency.combinators

Inputs and outputs
seqa sequence
quota quotation with stack effect ( elt -- ? )
newseqa sequence


Word description
Spawns a new thread for applying quot to every element of seq, collecting the elements for which the quotation yielded a true value.

Errors
Throws an error if one of the iterations throws an error.

Definition