MVFv3 API Documentation
    Preparing search index...
    • Wraps an async function that can potentially throw an Error to instead return a Promise<Result>.

      Type Parameters

      • A extends unknown[]
      • R

      Parameters

      • fn: (...args: A) => Promise<R>

      Returns (...args: A) => Promise<Result<R, Error>>