Home > @magiclane/maps-sdk > LogUploader > cancel
LogUploader.cancel() method
Cancels an ongoing upload for the specified log file.
The cancel request will trigger status updates via the onLogStatusChanged callback passed to the LogUploader constructor.
Signature:
cancel(logPath: string): GemError;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
logPath |
string |
Path to the log file whose upload should be cancelled. |
Returns:
GemError
A GemError indicating the result of the cancel request.