/main-ts

A function which cancels given task on specified node process signals

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Main-TS

Travis Coverage Status Greenkeeper badge

A function which cancels given task on specified node process signals.

import main from "@lostintime/main-ts"
import { IO } from "funfix-effect"

main(["SIGUSR1"])(IO.unit().delayResult(50000)).run()

Contribute

Perfection is Achieved Not When There Is Nothing More to Add, But When There Is Nothing Left to Take Away

Fork, Contribute, Push, Create pull request, Thanks.