function waitimport { wait } from "https://dotland.deno.dev/x/rambda@9.4.1/files/index.d.ts"; wait<T>(fn: Promise<T>): Promise<[T, Error | undefined]>wait<T>(fn: (x: any) => Promise<T>): Promise<[T, Error | undefined]>Type ParametersTParametersfn: Promise<T>ReturnsPromise<[T, Error | undefined]>Type ParametersTParametersfn: (x: any) => Promise<T>ReturnsPromise<[T, Error | undefined]>