Back to Whatsapp Web Js

whatsapp

docs/webCache_WebCache.js.html

1.34.7281 B
Original Source
/**
 * Default implementation of a web version cache that does nothing.
 */
class WebCache {
    async resolve() {
        return null;
    }

    async persist() {}
}

class VersionResolveError extends Error {}

module.exports = {
    WebCache,
    VersionResolveError,
};