Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/openweather_apis_wrapper/src/cache/mod.ts>Cache

A wrapper for the APIs provided by OpenWeather
Latest
interface Cache
Re-export
import { type Cache } from "https://deno.land/x/openweather_apis_wrapper@v0.4.4/src/cache/mod.ts";

Methods

has(key: string): boolean | Promise<boolean>
get(key: string): (TCached | undefined) | (Promise<TCached> | Promise<undefined>)
set(key: string, value: TCached): void | Promise<void>