This module is intended for use with Golemio services. Refer here for further information on usage, local development and more.
The APIs may be unstable. Therefore, we recommend to install this module as an exact version.
# Latest version
npm install --save-exact @golemio/flow@latest
# Development version
npm install --save-exact @golemio/flow@dev
It is possible to send a custom AMQP message to the worker for this method, indicating the desired time range for which you want to update the data in the database.
There is interval size limit. Please, use intervals of up to 12 hours.
The format of the message content should be as follows:
{
"from": "Sun Mar 21 2021 00:19:52 GMT+0100 (GMT+01:00)",
"to": "Tue Mar 21 2021 12:19:52 GMT+0200 (GMT+02:00)"
}
or
{
"from": 1625731200000,
"to": 1625731200000
}
or an array:
[
{
"from": 1625695200000,
"to": 1625696160000
},
{
"from": 1625731200000,
"to": 1625732160000
}
]
Any new Date(value)
parsable format is useable.