Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/capi/util/cache/mod.ts>CacheBase#get

[WIP] A framework for crafting interactions with Substrate chains
Latest
method CacheBase.prototype.get
Re-export
import { CacheBase } from "https://deno.land/x/capi@v0.1.1-beta.1/util/cache/mod.ts";

Type Parameters

T extends object

Parameters

key: string
$value: $.Codec<T>
init: () => Promise<T>

Returns

Promise<T>