Skip to content

Type Alias: PollProducer\<T, A\>

PollProducer<T, A> = (ctx) => T | PromiseLike<T>

One step of a poll loop. See PollContext.

T

A = Record<string, unknown>

PollContext<T, A>

T | PromiseLike<T>