Skip to main content
Module

x/windows_service/mod.ts>WindowsService#run

Deno library to seamlessly integrate your application as a Windows service without any external tools.
Latest
method WindowsService.prototype.run
import { WindowsService } from "https://deno.land/x/windows_service@1.0.11/mod.ts";

Main entrypoint for the service.

Parameters

mainFunction: (argc?: number, argv?: string[]) => Promise<void>