barnard59 icon indicating copy to clipboard operation
barnard59 copied to clipboard

"Local" variables

Open tpluscode opened this issue 2 years ago • 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"

tpluscode avatar May 02 '23 11:05 tpluscode