Main-TS
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.