thread.stop
Stops the thread host; with cascade, those of every thread it spawned too (PRT-085). Your own thread’s host ends once your turn does (DMN-1078).
Params: StopThreadParams
Section titled “Params: StopThreadParams”/** `thread.stop` params (PRT-085). */export type StopThreadParams = { /** Also stop every thread of its spawned tree: the threads it spawned, transitively (AGT-070, DMN-162). */ cascade?: boolean; threadId: string;};Result: ThreadsStopped
Section titled “Result: ThreadsStopped”/** `thread.stop` result (PRT-085). */export type ThreadsStopped = { /** * The threads whose host is now stopped: the thread first, then the rest of its spawned tree in the * order they were stopped. */ threadIds: string[];};