Each Resource subclass implements a static method fromBlob to instantiate it from a { blob, url } pair.

Hierarchy

  • ResourceFactory

Methods

Methods

  • Parameters

    • args: { url: `${string}:${string}`; blob: Blob; config?: GlobalConfig }
      • url: `${string}:${string}`
      • blob: Blob
      • Optional config?: GlobalConfig

    Returns Promise<Resource>