Consuming resources' feched version/meta-data in a task


‘in’ spec of resource found on states that

The script must emit the fetched version, and may emit metadata as a list of key-value pairs. This data is intended for public consumption and will make it upstream, intended to be shown on the build’s page.

Is there any way I can consume at least fetched version of the resource ?