Hi, in order to implement the activity log you need to keep the following in mind:
The activity log will change during the runtime of the app. In order to update the state you need to listen for the messaging_queue:job:added event which is emitted by the event emitter (you can import the MESSAGING_QUEUE_JOB_ADDED constant from src/events.js).
Feature / Issue
Hi, in order to implement the activity log you need to keep the following in mind:
The activity log will change during the runtime of the app. In order to update the state you need to listen for the
messaging_queue:job:added
event which is emitted by the event emitter (you can import theMESSAGING_QUEUE_JOB_ADDED
constant from src/events.js).You should call
fetchMessages
to get the latestX
messages. You will get an array of object's that with the following prop's: http://bitnation-pangea-libs.readthedocs.io/en/develop/schemata/#messagejobschema