Skip to content

ElectronDownloadItem.getState method

ElectronDownloadItem › getState

Unofficial

Returns the current state of the download.

Signature:

getState(): 'cancelled' | 'completed' | 'interrupted' | 'progressing'

Returns: 'cancelled' | 'completed' | 'interrupted' | 'progressing'The current state.