Skip to content

State-machine builder #60

@fl4p

Description

@fl4p

The state-machine builder with the call chains needs very proper exception handling, otherwise the Sender object can stay in an unusable state, e.g. .table() will always raise because it has already been set.

Would be cool to have a simple .write() function that captures everything at once. The underlying protocol is quite simple and there is no need to have the state builder, or is there?

JS is a concurrent async language and local states on shared mutable objects can be a pain, especially when there is an async call in the loop such as sender.at().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions