Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/dectyl/lib/deploy_worker.ts>createWorker

Prototype library for testing Deno Deploy scripts using the Deno CLI
Go to Latest
function createWorker
import { createWorker } from "https://deno.land/x/dectyl@0.10.5/lib/deploy_worker.ts";

Create a web worker which runs the provided module and its dependencies in a Deploy-like environment, and returns an API to interact with the loaded program.

Parameters

specifier: string | URL
optional
options: DeployOptions = [UNSUPPORTED]