document ReportPoll.from

This commit is contained in:
jesopo 2022-04-11 15:07:30 +00:00
parent 126791908d
commit 443b59c0a3

View File

@ -21,6 +21,10 @@ import { LogLevel } from "matrix-bot-sdk";
class InvalidStateError extends Error {}
export class ReportPoll {
/*
* https://matrix-org.github.io/synapse/latest/admin_api/event_reports.html
* "from" is an opaque token that is returned from the API to paginate reports
*/
private from = 0;
private timeout: ReturnType<typeof setTimeout> | null = null;