Skip to main content
Module

x/deno_slack_runtime/load-function-module.ts>LoadFunctionModule

Helper library for running a Run on Slack Deno function
Latest
variable LoadFunctionModule
import { LoadFunctionModule } from "https://deno.land/x/deno_slack_runtime@1.1.1/load-function-module.ts";

Given a string to a path for a module, or a module itself, import the module and return

type

(potentialFunctionFile: string | FunctionModule) => Promise<FunctionModule>