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

x/windmill/mod.ts>getResource

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
function getResource
import { getResource } from "https://deno.land/x/windmill@v1.246.10/mod.ts";

Get a resource value by path

Parameters

optional
path: string

path of the resource, default to internal state path

optional
undefinedIfEmpty: boolean

if the resource does not exist, return undefined instead of throwing an error

Returns

Promise<any>

resource value