Webhook from function

I’m triggering a webhook from a function by following the docs.
https://www.palantir.com/docs/foundry/data-connection/webhooks-reference/

However, how can I access the result (outputs) of the web-hook from my function once call ?

For example, if I’m parsing the whole JSON response in my webhook, how can I access this json from function ?

const response = source.myWebhook(....)
# response.json ? response.data ? ...