Home > @magiclane/maps-sdk > WeatherService > cancel

WeatherService.cancel() method

Cancels an ongoing asynchronous weather operation.

Signature:

static cancel(listener: ProgressListener): void;

Parameters

Parameter

Type

Description

listener

ProgressListener

Progress listener associated with the operation to cancel

Returns:

void