Skip to content

Make it easy to pass stepOrder ~~stepId~~ to function you're calling #37

@ianmacartney

Description

@ianmacartney

right now steps that are executing don't know they're a step or what their ID is. Maybe that's an issue?

What about

await step.runAction(ctx, internal.foo.bar, ({stepId}) => { stepId, ...myArgs});

  • it's explicitly a parameter
  • we can provide the stepId inside the closure (where it will exist)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions