zazuko/barnard59

"Local" variables

Opened this issue · 0 comments

Having implemented zazuko/barnard59-core#62 I figured that it would be useful to have a functionality similar to res.local in express

Any step or pipeline might need to keep some local state. The differences from variables would be:

  1. Implement as simple JS object
  2. No check if value is defined
  3. Keep actually local to a pipeline or step. I think they could be shared with children and sub-pipelines but would not go "up"