@chickenjdk/byteutils
    Preparing search index...

    Function wrapForPromiseKnown

    • Wrap a value for the completion of a promise, or a non-promise based on the async param

      Type Parameters

      • IsAsync extends boolean
      • V

      Parameters

      Returns V | Promise<V>