stopBlock

fun BlockHost.stopBlock(stopType: StopType = StopType.THIS_SCRIPT): NormalBlock

Adds a 'stop' block.

Parameters

stopType

The scope of what to stop (e.g., this script, all).