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

x/tappin/core/container/helper.ts>createProvide

🦖 Powerful application framework for Deno
Latest
variable createProvide
import { createProvide } from "https://deno.land/x/tappin@0.5.0/core/container/helper.ts";

Returns a function, which accepts container and executes given function with injected tokens

type

<T>(tokens: Array<TokenResolvable>, f: (...deps: any[]) => T | Promise<T>) => unknown