Trigger Execution
What distinguishes Trap.apex from all the other trigger frameworks is that its trigger execution is based on streams, a concept based on the functional reactive world.
To dive in, please check out Stream.apex.
What distinguishes Trap.apex from all the other trigger frameworks is that its trigger execution is based on streams, a concept based on the functional reactive world.
To dive in, please check out Stream.apex.
The core of Trap.apex trigger execution is the bulk objects.
Bulk objects are objects that encapsulate data in the forms of streams.
All Func
objects can be used with streams, and therefore they can be used here.
Besides, Trap.apex provides some utility functions that make our life easier.
It's important to load and store data in the trigger execution, to avoid doing query inside the loop.
Bulk objects have some nice features to support this.
Contribute on Github! Edit this section.