What is the best way of subscribing only to events for changes to entities of type "Task" or more specifically a specific type of task.
i.e. something like
session.event_hub.subscribe('topic=ftrack.update and data.entityType="Task"', callback)
It seems as this data is embedded in the Entities list and I can't work out how to do this is in a string
e.g. data.entities[0].entity_type="Task"
Or is it simply that this has to be filtered in the callback function?