Type Alias: PollProducer\<T, A\>
PollProducer<
T,A> = (ctx) =>T|PromiseLike<T>
One step of a poll loop. See PollContext.
Type Parameters
Section titled “Type Parameters”T
A = Record<string, unknown>
Parameters
Section titled “Parameters”PollContext<T, A>
Returns
Section titled “Returns”T | PromiseLike<T>