UNPKG

@alexknips/nestjs-kafka-events

Version:

Lightweight, tested, straight-forward wrapper around KafkaJS and Confluent's Schema Registry.

2 lines (1 loc) 164 B
export declare const retry: <T>(operation: () => Promise<T>, delay?: number, retries?: number, onError?: (reason: any, retriesLeft: number) => void) => Promise<T>;