Skip to content

Named rollbacks #197

Closed
Closed
@Enchufa2

Description

@Enchufa2

Current rollbacks (based on number of activities) are not ideal for prototyping, because they require an adjustment every time the user adds or removes an activity. This is even trickier when the trajectory is split into several pieces, or there are branches, etc.

It would be convenient to have some mechanism to label a point in a trajectory and then reference it by name. E.g.,

trajectory() %>%
  timeout(1) %>%
  rollback_point("foo") %>%
  timeout(2) %>%
  timeout(3) %>%
  rollback("foo")

would be equivalent to

trajectory() %>%
  timeout(1) %>%
  timeout(2) %>%
  timeout(3) %>%
  rollback(2)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions