bastilian / AAAPI

Async Action API
0 stars 1 forks source link

Support transformers #16

Open bastilian opened 1 year ago

bastilian commented 1 year ago

The idea of "transformers" is to have predefined scripts that are called when all JobRequests are done and is passed the results to create a compiled/merged result.

{
  "transformers": "mergeResults",
  "urls": [
    {"url": "http://example.org/items", "params": { "testParam": "testParamValue", "page": 1 }},
    {"url": "http://example.org/items", "params": { "testParam": "testParamValue", "page": 2 }}
  ]
}