InoDrive / UserApp / stopPoll


InoDrive.UserApp.stopPoll()

Stops polling the User Application to update Variable List.

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

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

// Instantiate InoDrive Object
let Drive = await InoDriveApi.InoDrive({ target: "Name", autoConnect: true })

// Start polling User Application
await Drive.UserApp.startPoll()

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