onIdChange

external fun onIdChange(installations: Installations, callback: (JsString) -> Unit): () -> Unit(source)

Calls callback with the new installation id whenever it changes; the returned function unsubscribes.