Option

was of flow

The old name of the flow, where it was renamed.

Value

One name, or a list of names. It is always stored as a list. Left out, nothing is taken as a rename.

Example

TypeScript
export const tidy = flow('tidy', {
  run: async ({ input, step }) => {
    await step('count', () => countNotes())
    return { team: input.team }
  },
  was: 'tidyUp',
})

See also

word.flow