:orphan: .. _s_11PytoRuntime4WASMC4kill_8workerIdys5Int32V_SitF: ``kill(_:workerId:)`` ===================== Sends a signal to the process. .. raw:: html .. rubric:: Declaration .. raw:: html
func kill(
       _ signal: Int32,
       workerId: Int = 1
   )
   
.. rubric:: Parameters - **signal**: The signal to send. - **workerId**: The thread id. Defaults to the main thread.