parallax v1.0.0 Parallax.Sequence

Representation of a sequence of tasks, each of which could contain a set of parallel tasks

Link to this section Summary

Functions

Replaces the head of the sequence with the given op

Appends an operation to the sequence

Creates a new sequence

Link to this section Types

Link to this type t()
t() :: %Parallax.Sequence{args: term(), opts: term(), sequence: term()}

Link to this section Functions

Link to this function amend(seq, new_head)
amend(t(), Parallax.executable()) :: t()

Replaces the head of the sequence with the given op

Link to this function append(seq, operation)
append(t(), Parallax.executable()) :: t()

Appends an operation to the sequence

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

Creates a new sequence