Static methods
staticinit(loop:Loop):Result<Signal>
Allocates and initializes a signal handle.
The handle should be cleaned up with eval.luv.Handle.close
when no longer needed.
staticstart(this:Signal, sigNum:SigNum, callback:() ‑> Void):Result<NoData>
Starts the signal handle.
staticstartOneshot(this:Signal, sigNum:SigNum, callback:() ‑> Void):Result<NoData>
Like eval.luv.Signal.start
, but the handle is stopped after one callback call.