navigate

fun <T : Destination> navigate(destination: T): Boolean

Expected to be called from the main/UI thread.

Example:

controller.navigate(ProfileDestination(userId = "123"))