This method will ignore any export time intervals and will immediately flush cached data in memory
to the collector. Use sparingly but ALWAYS use it before your application exits.
Returns Promise<void>
Remarks
This method does not throw any known exceptions. Export failures (e.g., 404 errors) are logged
as warnings instead of crashing the application, matching the Python SDK behavior.
This method will ignore any export time intervals and will immediately flush cached data in memory to the collector. Use sparingly but ALWAYS use it before your application exits.