Obter todas as tarefas agendadas
O provedor do Agendador permite que você recupere os IDs de todas as tarefas agendadas existentes. size é o tamanho da página que você deseja receber. A resposta conterá um cursor caso haja mais agendadores a serem buscados. Você pode chamar a função novamente usando o cursor parâmetro para percorrer seus agendadores.
Assinatura do método
list(size?: number, cursor?: string)
Obtendo todas as tarefas agendadas
const session = vcr.createSession();
const scheduler = new Scheduler(session);
const scheduledJobIDs = await scheduler.list();
session = vcr.createSession()
scheduler = Scheduler(session)
scheduledJobIDs = await scheduler.list()