Skip to content

Retries the given function using a backoff algorithm.

License

Notifications You must be signed in to change notification settings

nRFCloud/wait-for-it

Repository files navigation

@nrfcloud/wait-for-it

https://jsr.io/@nrfcloud/wait-for-it

Install with NPM

npx jsr add --save-dev @nrfcloud/wait-for-it

Usage

import { waitForIt } from "@nrfcloud/wait-for-it";
const tenant = await wait_for_it<Tenant>(() => repo.getByUUID(e.aggregateUUID));