Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/live/runtime/features/invoke.ts>invoke

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Latest
variable invoke
import { invoke } from "https://deno.land/x/live@1.107.0/runtime/features/invoke.ts";

Invokes a function within the application state.

type

(
key: InvokeFunction["key"],
props: InvokeFunction["props"],
select: InvokeFunction["select"],
state: State<any>,
) => Promise<any>