Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Reconsider the naming of func (sw *Scribe) Run(step ...Steps) #25

@kminehart

Description

@kminehart

Because Run is a verb (and a common one in software development), many users would expect that it does something "now", as in, at the moment of being called.

Instead, it adds a list of steps to the collection which will run one after another, in a "sequence". Another function with a more appropriate name is Parallel(step ...Steps), which will run the listed steps in parallel or concurrently whenever the pipeline is executed.

Some options:

  • Sequence(step ...Steps)
  • Serial(step ...Steps)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions