PollingFunction: (() => Promise<Payload[] | null | undefined>)