This enum contains the possible work item generation modes supported by pdg.Processor nodes.
Values ¶
pdg.generateWhen.AllUpstreamGenerated
Work items in the processor will generate once all upstream work items, across all input nodes, are generated.
pdg.generateWhen.AllUpstreamCooked
Work items in the processor will generate once all upstream work items, across all input nodes, are cooked.
pdg.generateWhen.EachUpstreamCooked
The processor will generate work items each time an upstream work item cooks.
pdg.generateWhen.Automatic
The processor will generate work items using one of the other options, and the current graph configuration. For example, PDG will attempt to detect if the node needs to wait for cooked inputs based on the attributes referenced by expressions on the node.