onMount

abstract fun onMount(id: String)

Executes initialization procedures based on events.

Features dependent on the platform are lazily initialized. The following features work correctly by notifying the start of SwrClient usage for each mount:

Parameters

id

Unique string for each mount point.