subscribe

abstract fun subscribe(fn: RouterSubscriber): () -> Unit(source)

Parameters

fn

function to call with the new state