Skip to content
This repository was archived by the owner on Mar 12, 2020. It is now read-only.
This repository was archived by the owner on Mar 12, 2020. It is now read-only.

Replace automatic ID with a given name #21

Closed
@tdauth

Description

@tdauth

Let the user of the API define a name and directly return the new state machine.
This allows us to remove the custom type IdMap and hence simplifies the code.

Before:
val stateMachine = GuiStateMachineApi().createStateMachine()

After:
val stateMachine = GuiStateMachineApi().createStateMachine("test")

Metadata

Metadata

Assignees

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