Skip to content

Exist within a long living process #10

Description

@maedi

Problem

How did I build Reflekt? By running a small test script again and again.
How did I determine when a reflection starts and ends? When the script starts and finishes.
A real application is not like that, it's a server like process that keeps handling new requests.

Solution

We need to figure out when one set of actions end and another set of actions start. This can be done by keeping track of actions and deducing start_actions and stop_actions.

An action is a start action when:

  • This is the first action ever called in a process. In this situation the ActionStack is empty
  • Need more...

An action is a stop action when:

  • The action called just before it is a start action
  • Need more...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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