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

x/drash/src/services/resource_loader/resource_loader.ts>ResourceLoaderService

A microframework for Deno's HTTP server with zero third-party dependencies
Go to Latest
class ResourceLoaderService
extends Service
import { ResourceLoaderService } from "https://deno.land/x/drash@v2.7.0/src/services/resource_loader/resource_loader.ts";

Constructors

new
ResourceLoaderService(options: IOptions)

Autoload resources in the provided options.paths_to_resources option.

Methods

runAtStartup(options: Interfaces.IServiceStartupOptions): Promise<void>