Processor Context in Dynamo

this in Processors as you might have expected, or not, works the same way this works in JavaScript.

In the global execution context (outside of any function), this refers to the global object. The global object in Processors has some stuff you won't normally find in the global object of NodeJS (although those are still very much available to you).

Below are the things available in the Processor context:

args - Dynamo Processor Args

async - Async Library

constants - Dynamo Constants

debug - Debug Library

elementFactory - Dynamo Element Factory

entityRepo - Dynamo Entities Repo

libs - Dynamo Libs