@glideapps/ts-necessities
    Preparing search index...

    Function dontAwait

    • The only thing this function does is to trace if the promise p rejects. It is useful to explain to ESLint that p is intentionally not awaited.

      Type Parameters

      • T

      Parameters

      • p: T | Promise<T>

      Returns void

      Instead of dontAwait(x) use void x.