Skip to main content
Module

x/hex/mod.ts>di.containers.get

An ecosystem delivering practices, philosophy and portability.
Go to Latest
variable di.containers.get
import { di } from "https://deno.land/x/hex@0.5.15/mod.ts";
const { get } = di.containers;

type

<K, V>(
containerItems: ContainerItems<K, V>,
token: K,
defaultValue?: V,
) => Promise<V | undefined> | V | undefined