Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 673 Bytes

File metadata and controls

13 lines (8 loc) · 673 Bytes

Home > @snowplow/node-tracker > EmitterConfigurationBase > onRequestSuccess

EmitterConfigurationBase.onRequestSuccess property

A callback function to be executed whenever a request is successfully sent to the collector. In practice this means any request which returns a 2xx status code will trigger this callback.

Signature:

onRequestSuccess?: (data: EventBatch, response: Response) => void;