DenoAppResource.WithDenoTask
Method
type DenoAppResource interface { // ... omitted for brevity WithDenoTask(taskName string) DenoAppResource}Signature
method
WithDenoTask builderSelects the
deno task <taskName> mode, running a task defined in deno.json instead of a script entrypoint. Permissions are defined by the task itself and are not emitted for this mode.WithDenoTask(taskName string) DenoAppResourceParameters
taskName stringThe name of the task in deno.json to run.Returns
DenoAppResource The resource builder.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: