slot

fun <T> slot(): SlotCapture<T>

Creates a SlotCapture implementation.