• 1Installation
  • 2Preliminary Knowledge
  • 3Big Picture
  • 4Compute
  • 5Step
  • 6State
  • 7Interruptions
  • 8Functional Support
  • 9Monitor

Atom.apex

  • Docs
  • Tutorials
Getting started with Atom.apex

State

An Atom holds a state, which is then shared by all of its steps. You can access data with the state.

public class CustomCompute extends Atom.Compute {
    public override void execute(Atom.State s) {
        Integer count = (Integer)s.getData('count');
        count += 1;
        s.setData('count', count);
    }
}

And this is the only way to communicate with other steps in Atom.apex

Done