0.0.4 • Published 5 years ago

waveguide-main-node v0.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

waveguide-main-node

import { main } from "waveguide-main-node";

Provides function main(io: IO<never, number>): void. The IO should return a status code and never fail, though aborts are possible. The IO will be interrupted on SIGINT and execute all finalizers before exiting. If a number is produced the the process will exit with that number. On abort the proces will exit with -1.

0.0.4

5 years ago

0.0.2

5 years ago