Skip to content

Prepared states #8

@zatziky

Description

@zatziky

@karelrochelt had an interesting idea that states are repeated over and over and only some states really deserve to have the comfort of a custom state in a separate file.

For example, a lot of states just send a text. We could create a TextState:

new TextStateBuilder()
  .addText('some text')
  .addNextState(anotherState, () => true)
  .build()

A lot of other types can be added too. How will we implement this?

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