(work: Promise<unknown>)
| 54 | }; |
| 55 | |
| 56 | const bounded = (work: Promise<unknown>): Promise<unknown> => |
| 57 | Promise.race([ |
| 58 | work, |
| 59 | new Promise((resolve) => { |
| 60 | setTimeout(resolve, refreshBound); |
| 61 | }), |
| 62 | ]); |
| 63 | |
| 64 | export const refreshShell = async ( |
| 65 | queryClient: QueryClient, |
no outgoing calls
no test coverage detected