InoDrive / UserApp / startPoll
InoDrive.UserApp.startPoll(timeout)
Start polling User Application to update Variable List.
Arguments:
• timeout (Number): (Optional) Timeout property for updating Variable List in seconds.
Returns: None
// 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 to update Variable List await Drive.UserApp.startPoll()