[ CCode ( has_construct_function = false , type = "DexFuture*" ) ]
public UnixSignal (int signum)
Creates a new [class@Dex.
UnixSignal] that completes when signum is delivered to the process.
signum must be one of SIGHUP, SIGINT, SIGTERM, SIGUSR1, SIGUSR2, or SIGWINCH.
This API is only supported on UNIX-like systems.
| signum |
a unix signal number |
|
a new [class@Dex.Future] |