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

Atom.apex

  • Docs
  • Tutorials
Getting started with Atom.apex

Compute

A compute is a single unsplittable unit of business logic that can be executed within a transaction. In Atom.apex, all steps are running in the queueable job context, so the Async Apex Limits apply here.

Here is how we create a CustomCompute.

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);
    }
}
Done