ThreadEvent.M
type reason =
| Started
| Exited
| Other of string
val reason_of_js : Ojs.t -> reason
val reason_to_js : reason -> Ojs.t
type body = {
reason : reason;
threadId : int;
}
val body_of_js : Ojs.t -> body
val body_to_js : body -> Ojs.t
val event : string