teardown

suspend fun teardown(reason: String? = null, timeoutMs: Long): Boolean(source)

Ask the view to wind down before it is removed (ui/resource-teardown) and wait up to timeoutMs for its answer. Returns whether it answered.