Skip to main content
Module

x/windows_service/mod.ts>WindowsService#serviceCtrlHandler

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

Handles service control events.

Parameters

controlCode: number
  • The control code received.
_eventType: number
  • The event type.