For now we depicted cases of information flow from the host page to the drugstone component
({{"<"}}drugst-one{{">"}}
).
To communicate some information from Drugst.One to your host page, if requested, we emit
events that can be listened to. This is generally achieved by adding an
EventListener to the component:
In the following the specific events will be covered, including the necessary eventName
to listen to, as well as how the result object is structured. Also some use-cases for
the received object might be proposed here.
Task IDs are emitted when algorithms are applied to subnetworks. This happens both
for module and drug analysis. These tasks are tracked internally but for general
result tracking reasons from a hosts perspective it can be necessary to acquire
them.