pub async fn signal(sig: i32) -> Result<(), Error>
signal
Creates a new listener which will receive notifications when the current process receives the specified signal.