Signature
RespanTelemetry and RespanClient.
Example
Use
flush() before process exit or in serverless/Lambda environments to ensure all spans are exported. In long-running applications with batch processing enabled, spans are flushed automatically at regular intervals.