InoDrive / UserApp / stopPoll


InoDrive.UserApp.stopPoll()

Ends Thread which was polling the InoDrive Module

// Import InoDrive API Library
 import { InoDriveApiJS }  from ( "ck-inodrive-api" ) 

// Instatiate the API
let InoDriveApi = new InoDriveApiJS.InoDriveApi({ connectAppUrl: "", secure: false })

// Instantiate InoDrive Object
Drive = await InoDriveApi.InoDrive({target:'Name', autoConnect:True})

// Start polling User Application
Drive.startPoll()

// Stop polling User Application
Drive.UserApp.stopPoll()