OutputTraverseOps

besom.internal.OutputExtensionsFactory.OutputTraverseOps

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Extensions

Extensions

extension [A, CC <: (Iterable)](coll: CC[A])
def parTraverse[B, To](f: A => Output[B])(using BuildFrom[CC[Output[B]], B, To], Context): Output[To]

Applies an Output-returning function to each element in the collection, in parallel, and then combines the results into an Output.

Applies an Output-returning function to each element in the collection, in parallel, and then combines the results into an Output.

Value parameters

f

the Output-returning function to apply to each element in the collection

Attributes

See also

traverse for sequential execution

def traverse[B, To](f: A => Output[B])(using BuildFrom[CC[Output[B]], B, To], Context): Output[To]

Applies an Output-returning function to each element in the collection, and then combines the results into an Output.

Applies an Output-returning function to each element in the collection, and then combines the results into an Output.

Value parameters

f

the Output-returning function to apply to each element in the collection

Attributes

See also

parTraverse for parallel execution