parallax v1.0.0 Parallax.Batch

Representation of a parallelized set of operations, each of which ought to be named

Link to this section Summary

Functions

Adds the given named op to the batch

Creates a new batch with the optionally supplied args

Link to this section Types

Link to this type t()
t() :: %Parallax.Batch{operations: term(), opts: term()}

Link to this section Functions

Link to this function append(batch, name, fnc)
append(t(), any(), Parallax.executable()) :: t()

Adds the given named op to the batch.

Link to this function new(args \\ [])
new(list()) :: t()

Creates a new batch with the optionally supplied args