Skip to main content
Module

x/scaffold/src/template/load_worker.ts>loadWorker

scaffold your next project with style and 💗
Latest
function loadWorker
import { loadWorker } from "https://deno.land/x/scaffold@0.3.0/src/template/load_worker.ts";

Load a configuration file with the given name from within a worker.

This provides the ability to restrict permissions before publication.

The configuration file is a typescript or javascript file.

The following extensions are supported: .ts | .mts | .js | .mjs

Parameters

props: LoadWorkerProps