Skip to main content
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)
Latest
function getResource
import { getResource } from "https://deno.land/x/windmill@v1.309.2/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