kvision / pl.treksoft.kvision.hmr / Hot

Hot

external interface Hot

Helper interface for Hot Module Replacement (HMR).

Properties

data

abstract val data: dynamic

Functions

accept

abstract fun accept(): Unit
abstract fun accept(dependency: String, callback: () -> Unit): Unit
abstract fun accept(dependencies: Array<String>, callback: (updated: Array<String>) -> Unit): Unit

dispose

abstract fun dispose(callback: (dynamic) -> Unit): Unit