main.kotlin.com.intuit.playerui.j2v8.bridge.V8ObjectWrapper.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of j2v8 Show documentation
Show all versions of j2v8 Show documentation
A cross-platform semantic rendering engine
package com.intuit.playerui.j2v8.bridge
import com.eclipsesource.v8.V8Object
/**
* Ceremonial interface that denotes if a structure is
* providing functionality on top of a [V8Object] instance
*/
// TODO: Consider making this abstract and overriding equals and hashcode
internal interface V8ObjectWrapper {
val v8Object: V8Object
fun release() {
v8Object.close()
}
}